Remove PowerUsageFeatureProvider.isAnomalyDetectionEnabled
Instead, this decision is being handled via AnomalyDetectionPolicy. Change-Id: I5b1831c78e31e3be984dda07bcea9f0b0a25d52f Fixes: 62871629 Test: robotests
This commit is contained in:
@@ -88,11 +88,6 @@ public class PowerUsageFeatureProviderImpl implements PowerUsageFeatureProvider
|
||||
return true;
|
||||
}
|
||||
|
||||
@Override
|
||||
public boolean isAnomalyDetectionEnabled() {
|
||||
return false;
|
||||
}
|
||||
|
||||
@Override
|
||||
public long getEnhancedBatteryPrediction(Context context) {
|
||||
return -1;
|
||||
@@ -113,11 +108,6 @@ public class PowerUsageFeatureProviderImpl implements PowerUsageFeatureProvider
|
||||
return 0;
|
||||
}
|
||||
|
||||
@Override
|
||||
public boolean isAnomalyDetectorEnabled(@Anomaly.AnomalyType int type) {
|
||||
return false;
|
||||
}
|
||||
|
||||
@Override
|
||||
public String getEnhancedEstimateDebugString(String timeRemaining) {
|
||||
return null;
|
||||
|
Reference in New Issue
Block a user