Display anomaly in battery usage page
This cl adds a new parameter, mAnomalies, for AdvancedPowerUsageDetail. If it is null, fragment will start AnomalyLoader to detect anomaly. If not null, just display the anomaly. Bug: 36925180 Test: RunSettingsRoboTests Change-Id: I572bc5954c1cdb210d18b6dbe1ab9dba25c0a61f
This commit is contained in:
@@ -32,8 +32,9 @@ import java.util.List;
|
||||
*/
|
||||
public class AnomalySummaryPreferenceController {
|
||||
private static final String TAG = "HighUsagePreferenceController";
|
||||
@VisibleForTesting
|
||||
static final String ANOMALY_KEY = "high_usage";
|
||||
|
||||
public static final String ANOMALY_KEY = "high_usage";
|
||||
|
||||
private static final int REQUEST_ANOMALY_ACTION = 0;
|
||||
private PreferenceFragment mFragment;
|
||||
@VisibleForTesting
|
||||
|
Reference in New Issue
Block a user