summaryrefslogtreecommitdiffstats
path: root/src/com/android/launcher3/DeviceProfile.java
diff options
context:
space:
mode:
authorSunny Goyal <sunnygoyal@google.com>2017-06-06 16:43:59 -0700
committerSunny Goyal <sunnygoyal@google.com>2017-06-06 16:48:25 -0700
commit966d901af0fd319aa2b62d6abccc5ac728e68423 (patch)
tree9f266716edfa144c26bde916aad2f8b2cb3ec48e /src/com/android/launcher3/DeviceProfile.java
parentb434fde42702000cfb8eacfdfc85c2f759be0a75 (diff)
downloadandroid_packages_apps_Trebuchet-966d901af0fd319aa2b62d6abccc5ac728e68423.tar.gz
android_packages_apps_Trebuchet-966d901af0fd319aa2b62d6abccc5ac728e68423.tar.bz2
android_packages_apps_Trebuchet-966d901af0fd319aa2b62d6abccc5ac728e68423.zip
Removing QsbBlockerView
> Removing workspace state change listener. State change happens with hardware layer, so children should not be calling invalidatge() during the animation > Moving QSB inside the QSB and removing a floating layout Bug: 37616877 Change-Id: I9af3522a05dafa5796586bb64f512d98688caf79
Diffstat (limited to 'src/com/android/launcher3/DeviceProfile.java')
-rw-r--r--src/com/android/launcher3/DeviceProfile.java8
1 files changed, 0 insertions, 8 deletions
diff --git a/src/com/android/launcher3/DeviceProfile.java b/src/com/android/launcher3/DeviceProfile.java
index 508fc3406..9bb56d603 100644
--- a/src/com/android/launcher3/DeviceProfile.java
+++ b/src/com/android/launcher3/DeviceProfile.java
@@ -532,14 +532,6 @@ public class DeviceProfile {
workspacePadding.bottom);
workspace.setPageSpacing(getWorkspacePageSpacing());
- // Only display when enabled
- if (FeatureFlags.QSB_ON_FIRST_SCREEN) {
- View qsbContainer = launcher.getQsbContainer();
- lp = (FrameLayout.LayoutParams) qsbContainer.getLayoutParams();
- lp.topMargin = mInsets.top + workspacePadding.top;
- qsbContainer.setLayoutParams(lp);
- }
-
// Layout the hotseat
Hotseat hotseat = (Hotseat) launcher.findViewById(R.id.hotseat);
lp = (FrameLayout.LayoutParams) hotseat.getLayoutParams();