Merge "Update method isSmartBatteryEnabled()" into pi-dev
This commit is contained in:
committed by
Android (Google) Code Review
commit
3feb2f87ff
@@ -131,6 +131,7 @@ public class PowerUsageFeatureProviderImpl implements PowerUsageFeatureProvider
|
||||
|
||||
@Override
|
||||
public boolean isSmartBatterySupported() {
|
||||
return false;
|
||||
return mContext.getResources().getBoolean(
|
||||
com.android.internal.R.bool.config_smart_battery_available);
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user