Fix NullPointerException
Change-Id: Ifce7af5ac6aacc04fb621f3afd707164f36ba980
This commit is contained in:
@@ -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);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user