Merge "Also clear the foreground service usage time for BatteryDiffEntry should hide background usage time." into main
This commit is contained in:
committed by
Android (Google) Code Review
commit
30526d9858
@@ -169,6 +169,7 @@ public class BatteryDiffData {
|
||||
}
|
||||
if (packageName != null && hideBackgroundUsageTimeSet.contains(packageName)) {
|
||||
entry.mBackgroundUsageTimeInMs = 0;
|
||||
entry.mForegroundServiceUsageTimeInMs = 0;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user