diff options
author | Andrii Kulian <akulian@google.com> | 2017-04-20 16:02:47 -0700 |
---|---|---|
committer | Andrii Kulian <akulian@google.com> | 2017-04-20 16:34:35 -0700 |
commit | 325cac4382259fd9b1f6b8e14840fe27d2d739e9 (patch) | |
tree | 48654343e22aa50786d45ca7b9c6a13ac5684425 /rs/java/android/renderscript/ProgramFragmentFixedFunction.java | |
parent | aa6b649a35072dc529c3b09bab097815fe3bff81 (diff) |
Always create display content with system identity
If an app tried to use a virtual display that it had just created
and add a window to it before it was registered in WM, WM would try
to create a DisplayContent instance. This would be executed with
app's calling identity and fail permission check.
This CL ensures that we always clear the calling identity before
creating display content.
Bug: 37422998
Test: android.display.cts.VirtualDisplayTest#testPrivateVirtualDisplay
Change-Id: I442cca65055886b384a28eeefcc35f2a36e482d0
Diffstat (limited to 'rs/java/android/renderscript/ProgramFragmentFixedFunction.java')
0 files changed, 0 insertions, 0 deletions