From 368ae772018c12349d7bf1b27d8817e7644b08c2 Mon Sep 17 00:00:00 2001 From: Sunny Goyal Date: Wed, 24 May 2017 13:19:15 -0700 Subject: Defining a dark theme for launcher > Removing the code for LIGHT_STATUS_BAR as that will be controlled by the theme > Updating icon cache to always use transparent background for low-res, as the theme can change the bg color Change-Id: Iab64ec29cab629ee515af22ec15b95d3f40a9df5 --- src/com/android/launcher3/Launcher.java | 7 ------- 1 file changed, 7 deletions(-) (limited to 'src/com/android/launcher3/Launcher.java') diff --git a/src/com/android/launcher3/Launcher.java b/src/com/android/launcher3/Launcher.java index 5fe6c1428..22aff64ac 100644 --- a/src/com/android/launcher3/Launcher.java +++ b/src/com/android/launcher3/Launcher.java @@ -491,13 +491,6 @@ public class Launcher extends BaseActivity mExtractedColors.load(this); mHotseat.updateColor(mExtractedColors, !mPaused); mWorkspace.getPageIndicator().updateColor(mExtractedColors); - boolean lightStatusBar = (FeatureFlags.LIGHT_STATUS_BAR && - mExtractedColors.getColor(ExtractedColors.STATUS_BAR_INDEX) == - ExtractedColors.DEFAULT_LIGHT); - // It's possible that All Apps is visible when this is run, - // so always use light status bar in that case. Only change nav bar color to status bar - // color when All Apps is visible. - activateLightSystemBars(lightStatusBar || isAllAppsVisible(), true, isAllAppsVisible()); } } -- cgit v1.2.3