Refine logic and add simple test for BatteryChartPreferenceController
Bug: 177406865 Test: make SettingsRoboTests Test: make SettingsGoogleRoboTests Change-Id: Ie218cf967c6f30c6eadcdfe6bfd3f37ccdc2276e
This commit is contained in:
@@ -385,7 +385,7 @@ public class BatteryEntry {
|
||||
|
||||
sUidCache.put(uidString, utd);
|
||||
if (handler != null) {
|
||||
handler.sendMessage(sHandler.obtainMessage(MSG_UPDATE_NAME_ICON, batteryEntry));
|
||||
handler.sendMessage(handler.obtainMessage(MSG_UPDATE_NAME_ICON, batteryEntry));
|
||||
}
|
||||
return new NameAndIcon(name, defaultPackageName, icon, /*iconId=*/ 0);
|
||||
}
|
||||
|
Reference in New Issue
Block a user