Merge "Fixing focus issues in Launcher (keyboard support)."

This commit is contained in:
Winson Chung authored and Android (Google) Code Review committed 2011-04-14 10:15:44 -07:00
commit 49f3c8e34b
31 files changed
+1163 -93

No files matched your search

+8
View File
@@ -1235,6 +1235,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()) {