diff options
author | Winson Chung <winsonc@google.com> | 2015-06-02 11:24:28 -0700 |
---|---|---|
committer | Winson Chung <winsonc@google.com> | 2015-06-05 10:52:57 -0700 |
commit | 7501adf4b71bb17d0785a5939efbcac4b39125c3 (patch) | |
tree | d2b135f6257d7693a926c20d17d5f46323843269 /src/com/android/launcher3/allapps/AllAppsContainerView.java | |
parent | 8d8c73b591bf58f93f8841938ad8ce92085f7105 (diff) | |
download | android_packages_apps_Trebuchet-7501adf4b71bb17d0785a5939efbcac4b39125c3.tar.gz android_packages_apps_Trebuchet-7501adf4b71bb17d0785a5939efbcac4b39125c3.tar.bz2 android_packages_apps_Trebuchet-7501adf4b71bb17d0785a5939efbcac4b39125c3.zip |
Ensure that we use the system long press duration when dragging from AllApps.
- Removing some old code out of LauncherAppState
Bug: 21559400
Change-Id: I3c586094efb7ad8a17d2169bc8aaccf6b0df40a2
Diffstat (limited to 'src/com/android/launcher3/allapps/AllAppsContainerView.java')
-rw-r--r-- | src/com/android/launcher3/allapps/AllAppsContainerView.java | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/com/android/launcher3/allapps/AllAppsContainerView.java b/src/com/android/launcher3/allapps/AllAppsContainerView.java index 9386500be..09f6a2c4d 100644 --- a/src/com/android/launcher3/allapps/AllAppsContainerView.java +++ b/src/com/android/launcher3/allapps/AllAppsContainerView.java @@ -432,6 +432,7 @@ public class AllAppsContainerView extends BaseContainerView implements DragSourc icon = (BubbleTextView) mLayoutInflater.inflate( R.layout.all_apps_prediction_bar_icon, mPredictionBarView, false); icon.setFocusable(true); + icon.setLongPressTimeout(ViewConfiguration.get(getContext()).getLongPressTimeout()); mPredictionBarView.addView(icon); } |