diff options
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 |