Remove PowerUsageFeatureProvider.isAnomalyDetectionEnabled
Instead, this decision is being handled via AnomalyDetectionPolicy. Change-Id: I5b1831c78e31e3be984dda07bcea9f0b0a25d52f Fixes: 62871629 Test: robotests
This commit is contained in:
@@ -62,11 +62,6 @@ public interface PowerUsageFeatureProvider {
|
||||
*/
|
||||
boolean isPowerAccountingToggleEnabled();
|
||||
|
||||
/**
|
||||
* Check whether the anomaly detection is enabled
|
||||
*/
|
||||
boolean isAnomalyDetectionEnabled();
|
||||
|
||||
/**
|
||||
* Returns an improved prediction for battery time remaining.
|
||||
*/
|
||||
@@ -87,12 +82,6 @@ public interface PowerUsageFeatureProvider {
|
||||
*/
|
||||
long getTimeRemainingEstimate(Cursor cursor);
|
||||
|
||||
/**
|
||||
* Check whether a specific anomaly detector is enabled
|
||||
*/
|
||||
//TODO(b/62096650): remove this method and use AnomalyDetectionPolicy instead
|
||||
boolean isAnomalyDetectorEnabled(@Anomaly.AnomalyType int type);
|
||||
|
||||
/**
|
||||
* Checks whether debugging should be enabled for battery estimates.
|
||||
* @return
|
||||
|
Reference in New Issue
Block a user