Merge "Hide subtitle for wifi and bluetooth" into oc-dev

This commit is contained in:
TreeHugger Robot
2017-05-03 02:18:52 +00:00
committed by Android (Google) Code Review
2 changed files with 17 additions and 1 deletions

View File

@@ -305,7 +305,9 @@ public class PowerUsageAdvanced extends PowerUsageBase {
boolean shouldHideSummary(PowerUsageData powerUsageData) {
@UsageType final int usageType = powerUsageData.usageType;
return usageType == UsageType.CELL;
return usageType == UsageType.CELL
|| usageType == UsageType.BLUETOOTH
|| usageType == UsageType.WIFI;
}
@VisibleForTesting