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

Commit 25d2746b authored by Seigo Nonaka's avatar Seigo Nonaka Committed by Android (Google) Code Review
Browse files

Merge "Fix IME window flickering during rotation." into mnc-dev

parents fe67c1ec d56ec1d4
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);