am 0b942cc7: am 9be8c22f: am 436a8bbe: am 3eb14e03: am 3b521b60: Merge "Battery summary - tint uid 0 icon" into mnc-dev

* commit '0b942cc7c1da41b0a128427a136e667f9e31a776':
  Battery summary - tint uid 0 icon
This commit is contained in:
Jason Monk
2015-07-27 19:47:35 +00:00
committed by Android Git Automerger

View File

@@ -317,7 +317,8 @@ public class PowerUsageSummary extends PowerUsageBase {
if (sipper.uidObj != null) { if (sipper.uidObj != null) {
pref.setKey(Integer.toString(sipper.uidObj.getUid())); pref.setKey(Integer.toString(sipper.uidObj.getUid()));
} }
if (sipper.drainType != DrainType.APP && sipper.drainType != DrainType.USER) { if ((sipper.drainType != DrainType.APP || sipper.uidObj.getUid() == 0)
&& sipper.drainType != DrainType.USER) {
pref.setTint(colorControl); pref.setTint(colorControl);
} }
addedSome = true; addedSome = true;