Some minor fixes for extracted status bar.

am: 345bff3ce6

Change-Id: I3a9e57fb93124b1d462b0fb8173419b887e85a84
This commit is contained in:
Tony Wickham
2016-09-29 01:36:18 +00:00
committed by android-build-merger
2 changed files with 21 additions and 21 deletions

View File

@@ -277,8 +277,8 @@ 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 enable = shift <= mStatusBarHeight / 2 || mLauncher.shouldBeLightStatusBar();
mLauncher.setLightStatusBar(enable);
boolean forceLight = shift <= mStatusBarHeight / 2;
mLauncher.activateLightStatusBar(forceLight);
}
/**