mirror of
https://github.com/LawnchairLauncher/lawnchair.git
synced 2026-03-03 17:36:49 +00:00
Merge "Part of fixing issue #6006757: Keyboard dismissal lags" into ics-mr1
This commit is contained in:
@@ -578,7 +578,12 @@ public final class Launcher extends Activity
|
||||
if (mFirstTime) {
|
||||
mFirstTime = false;
|
||||
} else {
|
||||
workspace.post(mBuildLayersRunnable);
|
||||
// We delay the layer building a bit in order to give
|
||||
// other message processing a time to run. In particular
|
||||
// this avoids a delay in hiding the IME if it was
|
||||
// currently shown, because doing that may involve
|
||||
// some communication back with the app.
|
||||
workspace.postDelayed(mBuildLayersRunnable, 500);
|
||||
observer.removeOnPreDrawListener(this);
|
||||
}
|
||||
return true;
|
||||
|
||||
Reference in New Issue
Block a user