Add method to check whether to enable anomaly detection

Bug: 37709022
Test: RunSettingsGoogleRoboTests
Change-Id: Ie95b8899f0201d392ba06e4747a0d926d7474d68
This commit is contained in:
jackqdyulei
2017-04-26 10:48:05 -07:00
parent f0a61dd112
commit d1a1fede6f
2 changed files with 10 additions and 0 deletions

View File

@@ -57,4 +57,9 @@ public interface PowerUsageFeatureProvider {
* Check whether the toggle for power accounting is enabled
*/
boolean isPowerAccountingToggleEnabled();
/**
* Check whether the anomaly detection is enabled
*/
boolean isAnomalyDetectionEnabled();
}