Fix NullPointerException

am: ec1d075e5f

* commit 'ec1d075e5fab3e2d4320c05da6e6bd73d119dcae':
  Fix NullPointerException
This commit is contained in:
Jorim Jaggi
2016-02-12 03:30:45 +00:00
committed by android-build-merger

View File

@@ -409,7 +409,11 @@ public class StatusBarIconController extends StatusBarIconList implements Tunabl
if (darkArea == null && mTintArea.isEmpty()) {
return;
}
mTintArea.set(darkArea);
if (darkArea == null) {
mTintArea.setEmpty();
} else {
mTintArea.set(darkArea);
}
applyIconTint();
mNotificationIconAreaController.setTintArea(darkArea);
}