summaryrefslogtreecommitdiffstats
path: root/src/com/android/launcher3/Hotseat.java
diff options
context:
space:
mode:
authorSunny Goyal <sunnygoyal@google.com>2018-05-23 10:51:37 -0700
committerSunny Goyal <sunnygoyal@google.com>2018-05-23 10:54:18 -0700
commite598699dc510d9f69b05554aa482107ed24bc9ba (patch)
tree20ed2b5fcf5f448bc38d1076aae5d21e073ee7bd /src/com/android/launcher3/Hotseat.java
parente26b03388e1e777f6860971cd157852b43ea6ecd (diff)
downloadandroid_packages_apps_Trebuchet-e598699dc510d9f69b05554aa482107ed24bc9ba.tar.gz
android_packages_apps_Trebuchet-e598699dc510d9f69b05554aa482107ed24bc9ba.tar.bz2
android_packages_apps_Trebuchet-e598699dc510d9f69b05554aa482107ed24bc9ba.zip
Remove custom focus logic
Using the system logic for focus handling so that partially visible contents are properly handled, eg in overview only hotseat is visible This does changes the focus logic on workspace when both icons and widgets or different sizes are present, we may consider reviving (parts of) this logic in the future Bug: 80189843 Change-Id: I874e284e0a62b579c24d36db9b74da3de7a7e367
Diffstat (limited to 'src/com/android/launcher3/Hotseat.java')
-rw-r--r--src/com/android/launcher3/Hotseat.java1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/com/android/launcher3/Hotseat.java b/src/com/android/launcher3/Hotseat.java
index c6025fe5f..ee4b1130d 100644
--- a/src/com/android/launcher3/Hotseat.java
+++ b/src/com/android/launcher3/Hotseat.java
@@ -112,7 +112,6 @@ public class Hotseat extends FrameLayout implements LogContainerProvider, Insett
allAppsButton.setCompoundDrawables(null, d, null, null);
allAppsButton.setContentDescription(context.getString(R.string.all_apps_button_label));
- allAppsButton.setOnKeyListener(new HotseatIconKeyEventListener());
if (mLauncher != null) {
allAppsButton.setOnClickListener((v) -> {
if (!mLauncher.isInState(ALL_APPS)) {