diff options
author | Adnan Begovic <adnan@cyngn.com> | 2015-10-26 15:48:47 -0700 |
---|---|---|
committer | Adnan Begovic <adnan@cyngn.com> | 2015-10-26 16:12:36 -0700 |
commit | fb6fd3df017838c62f19a6ebd23d61c94f2782ba (patch) | |
tree | c85fc2ac9a966695067691db6a82ab5372a54457 /src/com/android/settings/notificationlight | |
parent | f258f533ec1633dd78194705ae71fde57301d007 (diff) | |
download | packages_apps_Settings-fb6fd3df017838c62f19a6ebd23d61c94f2782ba.zip packages_apps_Settings-fb6fd3df017838c62f19a6ebd23d61c94f2782ba.tar.gz packages_apps_Settings-fb6fd3df017838c62f19a6ebd23d61c94f2782ba.tar.bz2 |
Profiles: Point at cmsdk, fix metrics logging.
Change-Id: Ic1f3a349c8aa54836128cc91e57e9d31eaca81d3
Diffstat (limited to 'src/com/android/settings/notificationlight')
-rw-r--r-- | src/com/android/settings/notificationlight/BatteryLightSettings.java | 6 | ||||
-rw-r--r-- | src/com/android/settings/notificationlight/NotificationLightSettings.java | 6 |
2 files changed, 12 insertions, 0 deletions
diff --git a/src/com/android/settings/notificationlight/BatteryLightSettings.java b/src/com/android/settings/notificationlight/BatteryLightSettings.java index 12f3d77..5dd68d8 100644 --- a/src/com/android/settings/notificationlight/BatteryLightSettings.java +++ b/src/com/android/settings/notificationlight/BatteryLightSettings.java @@ -27,6 +27,7 @@ import android.view.Menu; import android.view.MenuInflater; import android.view.MenuItem; +import com.android.internal.logging.MetricsLogger; import com.android.settings.R; import com.android.settings.SettingsPreferenceFragment; @@ -45,6 +46,11 @@ public class BatteryLightSettings extends SettingsPreferenceFragment implements private static final int MENU_RESET = Menu.FIRST; @Override + protected int getMetricsCategory() { + return MetricsLogger.DONT_TRACK_ME_BRO; + } + + @Override public void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState); addPreferencesFromResource(R.xml.battery_light_settings); diff --git a/src/com/android/settings/notificationlight/NotificationLightSettings.java b/src/com/android/settings/notificationlight/NotificationLightSettings.java index fddfa32..8bd9b87 100644 --- a/src/com/android/settings/notificationlight/NotificationLightSettings.java +++ b/src/com/android/settings/notificationlight/NotificationLightSettings.java @@ -41,6 +41,7 @@ import android.widget.AdapterView; import android.widget.AdapterView.OnItemClickListener; import android.widget.ListView; +import com.android.internal.logging.MetricsLogger; import com.android.settings.R; import com.android.settings.SettingsPreferenceFragment; import com.android.settings.cyanogenmod.PackageListAdapter; @@ -156,6 +157,11 @@ public class NotificationLightSettings extends SettingsPreferenceFragment implem } @Override + protected int getMetricsCategory() { + return MetricsLogger.DONT_TRACK_ME_BRO; + } + + @Override public void onResume() { super.onResume(); refreshDefault(); |