Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit caba82c2 authored by Seigo Nonaka's avatar Seigo Nonaka Committed by Android Git Automerger
Browse files

am 95153de1: am 25d2746b: Merge "Fix IME window flickering during rotation." into mnc-dev

* commit '95153de1':
  Fix IME window flickering during rotation.
parents 4e0ff9c1 95153de1
Loading
Loading
Loading
Loading
+6 −12
Original line number Diff line number Diff line
@@ -7139,20 +7139,14 @@ public class WindowManagerService extends IWindowManager.Stub

    public Configuration computeNewConfiguration() {
        synchronized (mWindowMap) {
            if (!mDisplayReady) {
                return null;
            }
            Configuration config = computeNewConfigurationLocked();
            if (mWaitingForConfig) {
                mWaitingForConfig = false;
                mLastFinishedFreezeSource = "new-config";
                performLayoutAndPlaceSurfacesLocked();
            }
            return config;
            return computeNewConfigurationLocked();
        }
    }

    Configuration computeNewConfigurationLocked() {
    private Configuration computeNewConfigurationLocked() {
        if (!mDisplayReady) {
            return null;
        }
        Configuration config = new Configuration();
        config.fontScale = 0;
        computeScreenConfigurationLocked(config);