Don't index High usage summary
Because the strings inside are dynamic Bug: 62069270 Test: RunSettingsRoboTests still pass Change-Id: I744179bef89cfaff403f9ce65fcfc0f03c04350b
This commit is contained in:
@@ -101,6 +101,7 @@ public class PowerUsageSummary extends PowerUsageBase implements
|
|||||||
private static final String KEY_AUTO_BRIGHTNESS = "auto_brightness_battery";
|
private static final String KEY_AUTO_BRIGHTNESS = "auto_brightness_battery";
|
||||||
private static final String KEY_SCREEN_TIMEOUT = "screen_timeout_battery";
|
private static final String KEY_SCREEN_TIMEOUT = "screen_timeout_battery";
|
||||||
private static final String KEY_BATTERY_SAVER_SUMMARY = "battery_saver_summary";
|
private static final String KEY_BATTERY_SAVER_SUMMARY = "battery_saver_summary";
|
||||||
|
private static final String KEY_HIGH_USAGE = "high_usage";
|
||||||
|
|
||||||
@VisibleForTesting
|
@VisibleForTesting
|
||||||
static final int ANOMALY_LOADER = 1;
|
static final int ANOMALY_LOADER = 1;
|
||||||
@@ -846,6 +847,7 @@ public class PowerUsageSummary extends PowerUsageBase implements
|
|||||||
niks.add(KEY_AUTO_BRIGHTNESS);
|
niks.add(KEY_AUTO_BRIGHTNESS);
|
||||||
niks.add(KEY_SCREEN_TIMEOUT);
|
niks.add(KEY_SCREEN_TIMEOUT);
|
||||||
niks.add(KEY_BATTERY_SAVER_SUMMARY);
|
niks.add(KEY_BATTERY_SAVER_SUMMARY);
|
||||||
|
niks.add(KEY_HIGH_USAGE);
|
||||||
return niks;
|
return niks;
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
Reference in New Issue
Block a user