summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRaj Yengisetty <rajesh@cyngn.com>2014-08-28 00:18:26 (GMT)
committerArne Coucheron <arco68@gmail.com>2014-11-21 00:58:45 (GMT)
commit1257a7d2c0332ca5fe511b4165df8fc396188268 (patch)
tree5335d58629d5a5c2a28735691e4ed9824226cfa1
parentcf64e4b646e6593ac97ef788cb03a8fdfff97aad (diff)
downloadandroid_packages_apps_Trebuchet-1257a7d2c0332ca5fe511b4165df8fc396188268.zip
android_packages_apps_Trebuchet-1257a7d2c0332ca5fe511b4165df8fc396188268.tar.gz
android_packages_apps_Trebuchet-1257a7d2c0332ca5fe511b4165df8fc396188268.tar.bz2
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 edca71f..b447e99 100644
--- a/src/com/android/launcher3/Launcher.java
+++ b/src/com/android/launcher3/Launcher.java
@@ -2684,6 +2684,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);
}