Merge "Fix invisible status bar icons when no appearance region reported" into sc-v2-dev
This commit is contained in:
@@ -225,19 +225,19 @@ public class LightBarController implements BatteryController.BatteryStateChangeC
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// If no one is light, all icons become white.
|
||||||
|
if (numLightStacks == 0) {
|
||||||
|
mStatusBarIconController.getTransitionsController().setIconsDark(
|
||||||
|
false, animateChange());
|
||||||
|
}
|
||||||
|
|
||||||
// If all stacks are light, all icons get dark.
|
// If all stacks are light, all icons get dark.
|
||||||
if (numLightStacks == numStacks) {
|
else if (numLightStacks == numStacks) {
|
||||||
mStatusBarIconController.setIconsDarkArea(null);
|
mStatusBarIconController.setIconsDarkArea(null);
|
||||||
mStatusBarIconController.getTransitionsController().setIconsDark(true, animateChange());
|
mStatusBarIconController.getTransitionsController().setIconsDark(true, animateChange());
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
// If no one is light, all icons become white.
|
|
||||||
else if (numLightStacks == 0) {
|
|
||||||
mStatusBarIconController.getTransitionsController().setIconsDark(
|
|
||||||
false, animateChange());
|
|
||||||
}
|
|
||||||
|
|
||||||
// Not the same for every stack, magic!
|
// Not the same for every stack, magic!
|
||||||
else {
|
else {
|
||||||
mStatusBarIconController.setIconsDarkArea(
|
mStatusBarIconController.setIconsDarkArea(
|
||||||
|
|||||||
Reference in New Issue
Block a user