Add support for making nav bar light separately from status bar

Bug: 34940468
Change-Id: Ie5543895e4c8b8753c84ef24633377cc985efc0d
This commit is contained in:
Tony Wickham
2017-03-20 16:49:37 -07:00
parent 3c2cbd8ad4
commit ed68728b1f
2 changed files with 16 additions and 11 deletions

View File

@@ -260,7 +260,7 @@ public class AllAppsTransitionController implements TouchController, VerticalPul
// Use a light status bar (dark icons) if all apps is behind at least half of the status
// bar. If the status bar is already light due to wallpaper extraction, keep it that way.
boolean forceLight = shift <= mStatusBarHeight / 2;
mLauncher.activateLightStatusBar(forceLight, true);
mLauncher.activateLightSystemBars(forceLight, true /* statusBar */, true /* navBar */);
}
/**