mirror of
https://github.com/LawnchairLauncher/lawnchair.git
synced 2026-02-28 07:46:55 +00:00
Fix issue where focus was sometimes missing when going to all apps with keyboard
issue 15407977 Change-Id: I806c4f3d4c5951e4caa7eddaff366a68585f1cd9
This commit is contained in:
@@ -3420,7 +3420,13 @@ public class Launcher extends Activity
|
||||
mAppsCustomizeTabHost.reset();
|
||||
}
|
||||
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
|
||||
mState = State.APPS_CUSTOMIZE;
|
||||
|
||||
Reference in New Issue
Block a user