summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJoey Rizzoli <joey@lineageos.org>2017-06-23 14:57:14 +0200
committerArne Coucheron <arco68@gmail.com>2017-07-15 06:51:06 +0200
commitb198b41b3797d7355ff1fbd094e119fb63cb7b58 (patch)
tree514e9bb05754cf8ea5c730be39b074daac58b673
parent0154733bd0b7268d2bbe8df04f41a98a224bc28c (diff)
downloadandroid_packages_apps_Trebuchet-b198b41b3797d7355ff1fbd094e119fb63cb7b58.zip
android_packages_apps_Trebuchet-b198b41b3797d7355ff1fbd094e119fb63cb7b58.tar.gz
android_packages_apps_Trebuchet-b198b41b3797d7355ff1fbd094e119fb63cb7b58.tar.bz2
Let the QSB widget take the needed space
Change-Id: I1ab3ec4fc1a3fcc850f657a8c5e89bc54c784208 Signed-off-by: Joey Rizzoli <joey@lineageos.org>
-rw-r--r--src/com/android/launcher3/Workspace.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/com/android/launcher3/Workspace.java b/src/com/android/launcher3/Workspace.java
index 340177d..6a886c2 100644
--- a/src/com/android/launcher3/Workspace.java
+++ b/src/com/android/launcher3/Workspace.java
@@ -649,7 +649,7 @@ public class Workspace extends PagedView
View qsbContainer = mLauncher.getQsbContainer();
ViewGroup.LayoutParams lp = qsbContainer.getLayoutParams();
if (cellHeight > 0 && lp.height != cellHeight) {
- lp.height = cellHeight;
+ lp.height = LayoutParams.WRAP_CONTENT;
qsbContainer.setLayoutParams(lp);
}
}