+1
−0
core/java/android/app/ActivityView.java
0 → 100644
+335
−0
+29
−0
Loading
Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more
New version of ActivityView that doesn't use expensive ActivityContainer, but utilizes VirtualDisplays instead. Creation of this view is only allowed for callers who have android.Manifest.permission.INJECT_EVENTS permission. Launching activities into this container is restricted by the same rules that apply to launching on VirtualDisplays: - Owner is allowed to launch its own activities. - If activity that's being launched is not from the same app, then it must be embeddable and launcher must have permission to embed. Bug: 63338670 Test: go/wm-smoke Change-Id: Id9a25752367ebe8e59d2fc21c5d9de5cf597ea01