blob: 5dcfc607420ff2b468f108c7a0cdd0ecb8a9f4e4 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
|
package de.thedevstack.conversationsplus.ui.preferences;
import android.content.Context;
import android.content.Intent;
import android.preference.Preference;
import android.util.AttributeSet;
import de.thedevstack.conversationsplus.ui.LogCatOutputActivity;
/**
* Created by tzur on 07.10.2015.
*/
public class LogInformationPreference extends Preference {
public LogInformationPreference(final Context context, final AttributeSet attrs, final int defStyle) {
super(context, attrs, defStyle);
}
public LogInformationPreference(final Context context, final AttributeSet attrs) {
super(context, attrs);
}
public LogInformationPreference(Context context) {
super(context);
}
@Override
protected void onClick() {
super.onClick();
final Intent intent = new Intent(getContext(), LogCatOutputActivity.class);
getContext().startActivity(intent);
}
}
|