summaryrefslogtreecommitdiffstats
path: root/src/com/android/settings/fuelgauge
diff options
context:
space:
mode:
authorChris Wren <cwren@android.com>2015-05-13 18:05:54 +0000
committerAndroid (Google) Code Review <android-gerrit@google.com>2015-05-13 18:06:00 +0000
commit0c3d8f1c0f869f5faa4b828e118f8717c8f77d40 (patch)
tree39a44c1f06c6d20e6dedf00947f8b102dcf01973 /src/com/android/settings/fuelgauge
parente2862a00b1ce2cf5ec9c3c8402a973c0fe426685 (diff)
parent8b7dc08e775db599a1239a9d4a51d6912fee90d2 (diff)
downloadpackages_apps_Settings-0c3d8f1c0f869f5faa4b828e118f8717c8f77d40.zip
packages_apps_Settings-0c3d8f1c0f869f5faa4b828e118f8717c8f77d40.tar.gz
packages_apps_Settings-0c3d8f1c0f869f5faa4b828e118f8717c8f77d40.tar.bz2
Merge "replace temporary metrics categories with permanent ones." into mnc-dev
Diffstat (limited to 'src/com/android/settings/fuelgauge')
-rw-r--r--src/com/android/settings/fuelgauge/HighPowerDetail.java3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/com/android/settings/fuelgauge/HighPowerDetail.java b/src/com/android/settings/fuelgauge/HighPowerDetail.java
index d82cb6f..bd18671 100644
--- a/src/com/android/settings/fuelgauge/HighPowerDetail.java
+++ b/src/com/android/settings/fuelgauge/HighPowerDetail.java
@@ -23,6 +23,7 @@ import android.preference.Preference;
import android.preference.Preference.OnPreferenceChangeListener;
import android.preference.SwitchPreference;
+import com.android.internal.logging.MetricsLogger;
import com.android.settings.InstrumentedFragment;
import com.android.settings.R;
import com.android.settings.applications.AppInfoWithHeader;
@@ -69,7 +70,7 @@ public class HighPowerDetail extends AppInfoWithHeader implements OnPreferenceCh
@Override
protected int getMetricsCategory() {
- return InstrumentedFragment.VIEW_CATEGORY_HIGH_POWER_DETAILS;
+ return MetricsLogger.FUELGAUGE_HIGH_POWER_DETAILS;
}
public static CharSequence getSummary(Context context, AppEntry entry) {