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

Commit c12ede43 authored by rongliu's avatar rongliu
Browse files

Make activity-alias inherit "enableVrMode" attribute from target activity.

Bug: 65271215
Test: Manual test. Start vr activity-alias when vr mode is on,
it doesn't quit vr mode in the middle.

Change-Id: Ifcac2a07765fcac848f42553be46209dc67361fd
parent 4d8ea379
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -4678,6 +4678,7 @@ public class PackageParser {
        info.windowLayout = target.info.windowLayout;
        info.resizeMode = target.info.resizeMode;
        info.maxAspectRatio = target.info.maxAspectRatio;
        info.requestedVrComponent = target.info.requestedVrComponent;

        info.encryptionAware = info.directBootAware = target.info.directBootAware;