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

Commit be1ffcd9 authored by Riddle Hsu's avatar Riddle Hsu Committed by Android (Google) Code Review
Browse files

Merge "Reduce unnecessary screenshot when display is not on" into udc-dev

parents f38af450 1f92fbea
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -690,6 +690,7 @@ class Transition implements BLASTSyncEngine.TransactionReadyListener {
        if (!wc.mDisplayContent.getDisplayPolicy().isScreenOnFully()
                || wc.mDisplayContent.getDisplayInfo().state == Display.STATE_OFF) {
            mFlags |= WindowManager.TRANSIT_FLAG_INVISIBLE;
            return;
        }

        if (mContainerFreezer == null) {