Fixing focus issues in Launcher (keyboard support).

Change-Id: Ieafd713393daf5628f229a66441bd3ed293245da
This commit is contained in:
Winson Chung committed 2011-04-14 10:13:09 -07:00
1 parent 721a06bb65
commit 97d85d23b0
31 files changed
+1163 -93

No files matched your search

+8
View File
@@ -1252,6 +1252,14 @@ public class Workspace extends SmoothPagedView
return false;
}
@Override
public int getDescendantFocusability() {
if (mIsSmall) {
return ViewGroup.FOCUS_BLOCK_DESCENDANTS;
}
return super.getDescendantFocusability();
}
@Override
public void addFocusables(ArrayList<View> views, int direction, int focusableMode) {
if (!mLauncher.isAllAppsVisible()) {