summaryrefslogtreecommitdiffstats
path: root/src/com/android/launcher3/DeviceProfile.java
diff options
context:
space:
mode:
authorHyunyoung Song <hyunyoungs@google.com>2016-09-07 14:45:09 -0700
committerHyunyoung Song <hyunyoungs@google.com>2016-09-07 14:45:09 -0700
commit016eaeea99e163f0b5385cf660297e6c21ff21e5 (patch)
treedee4a90c3488279791caf57fb081f0d96ac73721 /src/com/android/launcher3/DeviceProfile.java
parent61bcfba33598ddd0bc59910ab758fcd51d770502 (diff)
downloadandroid_packages_apps_Trebuchet-016eaeea99e163f0b5385cf660297e6c21ff21e5.tar.gz
android_packages_apps_Trebuchet-016eaeea99e163f0b5385cf660297e6c21ff21e5.tar.bz2
android_packages_apps_Trebuchet-016eaeea99e163f0b5385cf660297e6c21ff21e5.zip
Change all apps caret target bounding box
b/30400751 1) This also fixes the issue of apps drawer sliding up when page is swiped horizontally immediately above the hotseat area. 2) Disclaimer: this should be cp'ed to calgary. Hence, I tried to keep the diff small. Ideally, CaretDrawable animation handling should move to AllAppsHandleImageView via refactoring in follow up CL. Change-Id: I4d808ee2eeca53b40c0b4e4e0e364fef056e26c3
Diffstat (limited to 'src/com/android/launcher3/DeviceProfile.java')
-rw-r--r--src/com/android/launcher3/DeviceProfile.java1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/com/android/launcher3/DeviceProfile.java b/src/com/android/launcher3/DeviceProfile.java
index e6802bd27..c9fd85a16 100644
--- a/src/com/android/launcher3/DeviceProfile.java
+++ b/src/com/android/launcher3/DeviceProfile.java
@@ -533,7 +533,6 @@ public class DeviceProfile {
} else {
// Put the page indicators above the hotseat
lp.gravity = Gravity.CENTER_HORIZONTAL | Gravity.BOTTOM;
- lp.width = LayoutParams.WRAP_CONTENT;
lp.height = pageIndicatorHeightPx;
lp.bottomMargin = hotseatBarHeightPx + mInsets.bottom;
}