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

Commit ac8a052c authored by Valerie Hau's avatar Valerie Hau Committed by Android (Google) Code Review
Browse files

Merge "Add USE_BLAST private flag on ViewRootImpl setView"

parents 8b4325f8 8c2357a3
Loading
Loading
Loading
Loading
+5 −1
Original line number Diff line number Diff line
@@ -826,6 +826,10 @@ public final class ViewRootImpl implements ViewParent,
                if (mWindowAttributes.packageName == null) {
                    mWindowAttributes.packageName = mBasePackageName;
                }
                if (WindowManagerGlobal.USE_BLAST_ADAPTER) {
                    mWindowAttributes.privateFlags |=
                        WindowManager.LayoutParams.PRIVATE_FLAG_USE_BLAST;
                }
                attrs = mWindowAttributes;
                setTag();

@@ -1308,7 +1312,7 @@ public final class ViewRootImpl implements ViewParent,
            mWindowAttributes.privateFlags |= compatibleWindowFlag;

            if (WindowManagerGlobal.USE_BLAST_ADAPTER) {
                mWindowAttributes.privateFlags =
                mWindowAttributes.privateFlags |=
                    WindowManager.LayoutParams.PRIVATE_FLAG_USE_BLAST;
            }