diff options
author | Adnan Begovic <adnan@cyngn.com> | 2016-01-11 13:58:26 -0800 |
---|---|---|
committer | Gerrit Code Review <gerrit@cyanogenmod.org> | 2016-01-11 16:56:27 -0800 |
commit | 35a185c53180b4e4996de3c7b49baf6a327cb647 (patch) | |
tree | 74d0ee909eb56fc57ea44330e16e0f2903ac6880 /src/com/android/settings/notificationlight | |
parent | 1b1716ed40d623e88102b41c93f96cbe7dd5c70d (diff) | |
download | packages_apps_Settings-35a185c53180b4e4996de3c7b49baf6a327cb647.zip packages_apps_Settings-35a185c53180b4e4996de3c7b49baf6a327cb647.tar.gz packages_apps_Settings-35a185c53180b4e4996de3c7b49baf6a327cb647.tar.bz2 |
Settings: Add CMMetricsLogger constants to proper pages.
Change-Id: I6e1d0ec2be4c6da51267c163575472827c9c50cd
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 | 4 |
2 files changed, 6 insertions, 4 deletions
diff --git a/src/com/android/settings/notificationlight/BatteryLightSettings.java b/src/com/android/settings/notificationlight/BatteryLightSettings.java index 70f8ecd..80d7fa2 100644 --- a/src/com/android/settings/notificationlight/BatteryLightSettings.java +++ b/src/com/android/settings/notificationlight/BatteryLightSettings.java @@ -27,12 +27,14 @@ 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; import com.android.settings.cyanogenmod.CMSystemSettingSwitchPreference; + import cyanogenmod.providers.CMSettings; +import org.cyanogenmod.internal.logging.CMMetricsLogger; + public class BatteryLightSettings extends SettingsPreferenceFragment implements Preference.OnPreferenceChangeListener { private static final String TAG = "BatteryLightSettings"; @@ -54,7 +56,7 @@ public class BatteryLightSettings extends SettingsPreferenceFragment implements @Override protected int getMetricsCategory() { - return MetricsLogger.DONT_TRACK_ME_BRO; + return CMMetricsLogger.BATTERY_LIGHT_SETTINGS; } @Override diff --git a/src/com/android/settings/notificationlight/NotificationLightSettings.java b/src/com/android/settings/notificationlight/NotificationLightSettings.java index 597ea3a..1a5af49 100644 --- a/src/com/android/settings/notificationlight/NotificationLightSettings.java +++ b/src/com/android/settings/notificationlight/NotificationLightSettings.java @@ -41,7 +41,6 @@ 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; @@ -55,6 +54,7 @@ import java.util.List; import java.util.Map; import cyanogenmod.providers.CMSettings; +import org.cyanogenmod.internal.logging.CMMetricsLogger; public class NotificationLightSettings extends SettingsPreferenceFragment implements Preference.OnPreferenceChangeListener, AdapterView.OnItemLongClickListener { @@ -164,7 +164,7 @@ public class NotificationLightSettings extends SettingsPreferenceFragment implem @Override protected int getMetricsCategory() { - return MetricsLogger.DONT_TRACK_ME_BRO; + return CMMetricsLogger.NOTIFICATION_LIGHT_SETTINGS; } @Override |