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

Commit 8c2357a3 authored by Valerie Hau's avatar Valerie Hau
Browse files

Add USE_BLAST private flag on ViewRootImpl setView

Bug: 147018830
Test: build, boot, manual
Change-Id: I0fc84aab5ee04eb7abe4f745410910ddafc3707d
parent 10076e75
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;
            }