summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRaj Yengisetty <rajesh@cyngn.com>2014-08-27 17:18:26 -0700
committerRaj Yengisetty <rajesh@cyngn.com>2014-08-27 17:18:26 -0700
commitc6b71c1690bad13062525cdadfc2239c70ad80cb (patch)
treeb8c04f11721491d56985f627bbe819ef5028422c
parent70563dfacb2e88cc01d81fa98d19e73d4aab6aa6 (diff)
downloadandroid_packages_apps_Trebuchet-c6b71c1690bad13062525cdadfc2239c70ad80cb.tar.gz
android_packages_apps_Trebuchet-c6b71c1690bad13062525cdadfc2239c70ad80cb.tar.bz2
android_packages_apps_Trebuchet-c6b71c1690bad13062525cdadfc2239c70ad80cb.zip
Fix - Workspace background gradient
Repro: - Open App Drawer - Launcher any app - Press back (User should be returned to the App Drawer) - Press back again (User should be returned to the Home Screen) - Note gradient near status bar (Home Screen gradient is missing!) - Press home - Note Home Screen gradient reappears Change-Id: Ib24d94c2deba06f872f42bfffff78317844dd731
-rw-r--r--src/com/android/launcher3/Launcher.java2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/com/android/launcher3/Launcher.java b/src/com/android/launcher3/Launcher.java
index 66b94e2cb..2223a5c1e 100644
--- a/src/com/android/launcher3/Launcher.java
+++ b/src/com/android/launcher3/Launcher.java
@@ -2754,6 +2754,8 @@ public class Launcher extends Activity
if (mAppsCustomizeContent.getContentType() ==
AppsCustomizePagedView.ContentType.Applications) {
showWorkspace(true);
+ // Background was set to gradient in onPause(), restore to black if in all apps.
+ setWorkspaceBackground(mState == State.WORKSPACE);
} else {
showOverviewMode(true);
}