summaryrefslogtreecommitdiff
path: root/rs/java/android/renderscript/ProgramStore.java
diff options
context:
space:
mode:
authorKarthik Ravi Shankar <karthikrs@google.com>2017-09-26 13:40:58 -0700
committerKarthik Ravi Shankar <karthikrs@google.com>2017-09-28 11:11:49 -0700
commit4c6573889567dbe2dc0fad6217818aab6b7a7a1f (patch)
treee348e24f1dae94b831958310a76f4ecae2a35a89 /rs/java/android/renderscript/ProgramStore.java
parentaace655509795861986aefd4f910d9bb439ff00e (diff)
Fix launch of activities into VR Virtual display
When launching a 2D activity in VR mode by the VR app, we want to launch it in the virtual display created by VR. But, this fails since the virtual display owner is system and the calling UID doesn't have ACTIVITY_EMBED permission. We address this by making the virtual display public since it's lifetime is only VR mode and we want to allow all apps to launch 2D activities and route them to the vr virtual display. Bug: 66475142 Test: Launch VrSettingsActivity by clicking on gear and check "adb shell am stack list" to verify it launched on the virtual display Change-Id: Idde63ea63c953c6cf3d4ea46989a963a5651ce8a Signed-off-by: Karthik Ravi Shankar <karthikrs@google.com>
Diffstat (limited to 'rs/java/android/renderscript/ProgramStore.java')
0 files changed, 0 insertions, 0 deletions