Fix issue where focus was sometimes missing when going to all apps with keyboard
issue 15407977 Change-Id: I806c4f3d4c5951e4caa7eddaff366a68585f1cd9
This commit is contained in:
1 parent
db78dc8a0a
commit
dcc5e71b3f
1 file changed
+7
-1
@@ -3420,7 +3420,13 @@ public class Launcher extends Activity
|
|||||||
mAppsCustomizeTabHost.reset();
|
mAppsCustomizeTabHost.reset();
|
||||||
}
|
}
|
||||||
showAppsCustomizeHelper(animated, false, contentType);
|
showAppsCustomizeHelper(animated, false, contentType);
|
||||||
mAppsCustomizeTabHost.requestFocus();
|
mAppsCustomizeTabHost.post(new Runnable() {
|
||||||
|
@Override
|
||||||
|
public void run() {
|
||||||
|
// We post this in-case the all apps view isn't yet constructed.
|
||||||
|
mAppsCustomizeTabHost.requestFocus();
|
||||||
|
}
|
||||||
|
});
|
||||||
|
|
||||||
// Change the state *after* we've called all the transition code
|
// Change the state *after* we've called all the transition code
|
||||||
mState = State.APPS_CUSTOMIZE;
|
mState = State.APPS_CUSTOMIZE;
|
||||||
|
|||||||
Reference in new issue
Block a user