Build a bridge to control whether the graph is clickable or not
Create a bridge to read phenotype flag from GoogleSettings to control whether each time slot in the graph is clickable or not. Bug: 185308803 Test: make SettingsRoboTests Change-Id: If8b58dcaa50ad5fb6b447ca5b7146639ee31a9df
This commit is contained in:
@@ -158,6 +158,11 @@ public class PowerUsageFeatureProviderImpl implements PowerUsageFeatureProvider
|
||||
return false;
|
||||
}
|
||||
|
||||
@Override
|
||||
public boolean isChartGraphSlotsEnabled(Context context) {
|
||||
return false;
|
||||
}
|
||||
|
||||
@Override
|
||||
public Map<Long, Map<String, BatteryHistEntry>> getBatteryHistory(Context context) {
|
||||
return null;
|
||||
|
Reference in New Issue
Block a user