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

Commit b96e4b1a authored by Filip Gruszczynski's avatar Filip Gruszczynski Committed by Android Git Automerger
Browse files

am 8a416027: am 8d5f358d: am 41e13b0a: Update circular mask after display is ready.

* commit '8a416027':
  Update circular mask after display is ready.
parents b16e7469 8a416027
Loading
Loading
Loading
Loading
+3 −2
Original line number Diff line number Diff line
@@ -907,7 +907,6 @@ public class WindowManagerService extends IWindowManager.Stub
            SurfaceControl.closeTransaction();
        }

        updateCircularDisplayMaskIfNeeded();
        showEmulatorDisplayOverlayIfNeeded();
    }

@@ -5307,7 +5306,7 @@ public class WindowManagerService extends IWindowManager.Stub
        }
    }

    public void updateCircularDisplayMaskIfNeeded() {
    private void updateCircularDisplayMaskIfNeeded() {
        // we're fullscreen and not hosted in an ActivityView
        if (mContext.getResources().getConfiguration().isScreenRound()
                && mContext.getResources().getBoolean(
@@ -7099,6 +7098,8 @@ public class WindowManagerService extends IWindowManager.Stub
            mActivityManager.updateConfiguration(null);
        } catch (RemoteException e) {
        }

        updateCircularDisplayMaskIfNeeded();
    }

    private void displayReady(int displayId) {