diff options
author | Sunny Goyal <sunnygoyal@google.com> | 2014-08-20 16:58:17 -0700 |
---|---|---|
committer | Sunny Goyal <sunnygoyal@google.com> | 2014-08-20 17:00:32 -0700 |
commit | b3726d90a567e992e4d0f43e7c7acdd8739ae805 (patch) | |
tree | b1b75f0045d3dd9d7ed209826789a782056e95f9 /src/com/android/launcher3/Hotseat.java | |
parent | 22308ce1b858aa9a4e9068ea4fb1d47e62fc6e67 (diff) | |
download | android_packages_apps_Trebuchet-b3726d90a567e992e4d0f43e7c7acdd8739ae805.tar.gz android_packages_apps_Trebuchet-b3726d90a567e992e4d0f43e7c7acdd8739ae805.tar.bz2 android_packages_apps_Trebuchet-b3726d90a567e992e4d0f43e7c7acdd8739ae805.zip |
Changing hotseat keyboard controls
> Left and right keys don not navigate to next/prev page
> Down arrow on apps apps last row, do not take the focus to the end
> Nagivation sounds when focus changes
issue: 16352221
Change-Id: I5982f22dc80c408673092f8fa8ca1b2fc6381635
Diffstat (limited to 'src/com/android/launcher3/Hotseat.java')
-rw-r--r-- | src/com/android/launcher3/Hotseat.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/com/android/launcher3/Hotseat.java b/src/com/android/launcher3/Hotseat.java index 3d6befae5..b08272f36 100644 --- a/src/com/android/launcher3/Hotseat.java +++ b/src/com/android/launcher3/Hotseat.java @@ -64,7 +64,6 @@ public class Hotseat extends FrameLayout { public void setup(Launcher launcher) { mLauncher = launcher; - setOnKeyListener(new HotseatIconKeyEventListener()); } CellLayout getLayout() { @@ -155,6 +154,7 @@ public class Hotseat extends FrameLayout { allAppsButton.setCompoundDrawables(null, d, null, null); allAppsButton.setContentDescription(context.getString(R.string.all_apps_button_label)); + allAppsButton.setOnKeyListener(new HotseatIconKeyEventListener()); if (mLauncher != null) { allAppsButton.setOnTouchListener(mLauncher.getHapticFeedbackTouchListener()); mLauncher.setAllAppsButton(allAppsButton); |