Don't load battery entry names and icons in offline job to improve memory usage.
Risk: low (The name and icon will be always loaded again in the UI.) Bug: 280720236 Fix: 280720236 Test: manual Change-Id: I86f50e953ffd4910acbf9f318e1cc1caa3a7a232 Merged-In: I86f50e953ffd4910acbf9f318e1cc1caa3a7a232
This commit is contained in:
@@ -172,7 +172,6 @@ public class BatteryEntry {
|
||||
mName = mDefaultPackageName;
|
||||
}
|
||||
}
|
||||
getQuickNameIconForUid(uid, packages, loadDataInBackground);
|
||||
mTimeInForegroundMs =
|
||||
uidBatteryConsumer.getTimeInStateMs(UidBatteryConsumer.STATE_FOREGROUND);
|
||||
mTimeInBackgroundMs =
|
||||
|
Reference in New Issue
Block a user