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

This commit is contained in:
Winson Chung
2011-04-14 10:15:44 -07:00
committed by Android (Google) Code Review
31 changed files with 1163 additions and 93 deletions
+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()) {