RESTRICT AUTOMERGE Hide keyboard when launcher is resumed for misbehaving apps

Test: Open keyboard in Discord, swipe home; repeat 20 times and ensure
keyboard never shows on home
Fixes: 207613784

Change-Id: Ie9a84729bf1d0c22783e986bbe93ff222502718c
This commit is contained in:
Tony Wickham
2022-03-16 10:06:25 -07:00
parent 8f82208a5e
commit 1ccb68a9fd
+3
View File
@@ -989,6 +989,9 @@ public class Launcher extends StatefulActivity<LauncherState> implements Launche
DiscoveryBounce.showForHomeIfNeeded(this);
mAppWidgetHost.setActivityResumed(true);
// Temporary workaround for apps using SHOW_FORCED IME flag.
hideKeyboard();
}
private void logStopAndResume(boolean isResume) {