Loading src/com/android/settings/InstrumentedFragment.java +10 −0 Original line number Diff line number Diff line Loading @@ -23,6 +23,16 @@ import com.android.internal.logging.MetricsLogger; * Instrumented fragment that logs visibility state. */ public abstract class InstrumentedFragment extends PreferenceFragment { // Declare new temproary categories here, starting after this value. public static final int VIEW_CATEGORY_UNDECLARED = 100000; /** * Declare the view of this category. * * Categories are defined in {@link com.android.internal.logging.MetricsLogger} * or if there is no relevant existing category you may define one in * {@link com.android.settings.InstrumentedFragment}. */ protected abstract int getMetricsCategory(); @Override Loading src/com/android/settings/InstrumentedPreferenceActivity.java +7 −0 Original line number Diff line number Diff line Loading @@ -23,6 +23,13 @@ import com.android.internal.logging.MetricsLogger; * Instrumented activity that logs visibility state. */ public abstract class InstrumentedPreferenceActivity extends PreferenceActivity { /** * Declare the view of this category. * * Categories are defined in {@link com.android.internal.logging.MetricsLogger} * or if there is no relevant existing category you may define one in * {@link com.android.settings.InstrumentedFragment}. */ protected abstract int getMetricsCategory(); @Override Loading src/com/android/settings/InstrumentedPreferenceFragment.java +7 −0 Original line number Diff line number Diff line Loading @@ -23,6 +23,13 @@ import com.android.internal.logging.MetricsLogger; * Instrumented preference fragment that logs visibility state. */ public abstract class InstrumentedPreferenceFragment extends PreferenceFragment { /** * Declare the view of this category. * * Categories are defined in {@link com.android.internal.logging.MetricsLogger} * or if there is no relevant existing category you may define one in * {@link com.android.settings.InstrumentedFragment}. */ protected abstract int getMetricsCategory(); @Override Loading Loading
src/com/android/settings/InstrumentedFragment.java +10 −0 Original line number Diff line number Diff line Loading @@ -23,6 +23,16 @@ import com.android.internal.logging.MetricsLogger; * Instrumented fragment that logs visibility state. */ public abstract class InstrumentedFragment extends PreferenceFragment { // Declare new temproary categories here, starting after this value. public static final int VIEW_CATEGORY_UNDECLARED = 100000; /** * Declare the view of this category. * * Categories are defined in {@link com.android.internal.logging.MetricsLogger} * or if there is no relevant existing category you may define one in * {@link com.android.settings.InstrumentedFragment}. */ protected abstract int getMetricsCategory(); @Override Loading
src/com/android/settings/InstrumentedPreferenceActivity.java +7 −0 Original line number Diff line number Diff line Loading @@ -23,6 +23,13 @@ import com.android.internal.logging.MetricsLogger; * Instrumented activity that logs visibility state. */ public abstract class InstrumentedPreferenceActivity extends PreferenceActivity { /** * Declare the view of this category. * * Categories are defined in {@link com.android.internal.logging.MetricsLogger} * or if there is no relevant existing category you may define one in * {@link com.android.settings.InstrumentedFragment}. */ protected abstract int getMetricsCategory(); @Override Loading
src/com/android/settings/InstrumentedPreferenceFragment.java +7 −0 Original line number Diff line number Diff line Loading @@ -23,6 +23,13 @@ import com.android.internal.logging.MetricsLogger; * Instrumented preference fragment that logs visibility state. */ public abstract class InstrumentedPreferenceFragment extends PreferenceFragment { /** * Declare the view of this category. * * Categories are defined in {@link com.android.internal.logging.MetricsLogger} * or if there is no relevant existing category you may define one in * {@link com.android.settings.InstrumentedFragment}. */ protected abstract int getMetricsCategory(); @Override Loading