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

Commit 76c76a86 authored by Chris Li's avatar Chris Li Committed by Gerrit Code Review
Browse files

Merge "Fix the problem that the turn_screen_on Activity does not draw."

parents a4d51305 3ff201a7
Loading
Loading
Loading
Loading
+3 −1
Original line number Diff line number Diff line
@@ -1035,7 +1035,6 @@ public final class ViewRootImpl implements ViewParent,
            if (mView == null) {
                mView = view;

                mAttachInfo.mDisplayState = mDisplay.getState();
                mViewLayoutDirectionInitial = mView.getRawLayoutDirection();
                mFallbackEventHandler.setView(view);
                mWindowAttributes.copyFrom(attrs);
@@ -1229,6 +1228,9 @@ public final class ViewRootImpl implements ViewParent,
                }

                registerListeners();
                // We should update mAttachInfo.mDisplayState after registerDisplayListener
                // because displayState might be changed before registerDisplayListener.
                mAttachInfo.mDisplayState = mDisplay.getState();
                if ((res & WindowManagerGlobal.ADD_FLAG_USE_BLAST) != 0) {
                    mUseBLASTAdapter = true;
                }