[Battery usage U] Create a flag to guard battery usage features
Bug: 261800937 Fix: 261800937 Test: manual Change-Id: I891c235228c9ca0709471b496e6f75167fd0a126
This commit is contained in:
@@ -29,6 +29,11 @@ import java.util.Set;
|
||||
*/
|
||||
public interface PowerUsageFeatureProvider {
|
||||
|
||||
/**
|
||||
* Check whether the battery usage button is enabled in the battery page
|
||||
*/
|
||||
boolean isBatteryUsageEnabled(Context context);
|
||||
|
||||
/**
|
||||
* Check whether location setting is enabled
|
||||
*/
|
||||
|
Reference in New Issue
Block a user