diff options
author | Tony Mak <tonymak@google.com> | 2017-05-12 16:11:43 +0100 |
---|---|---|
committer | Tony Mak <tonymak@google.com> | 2017-05-12 16:34:02 +0100 |
commit | f2645400c255aae29a217c5003fa661a0b4da6f1 (patch) | |
tree | e04979899f32179e70674ae55bdd669100193d90 /rs/java/android/renderscript/ProgramFragmentFixedFunction.java | |
parent | fa0b28220b7d0d4c12734bdfc24e8dd3b19749c5 (diff) |
Clear calling identity before binding instant app resolver
EphemeralResolverConnection always bind the instant app resolver installed
in user 0. It can be a problem if PMS is calling
EphemeralResolverConnection in a binder call from other users.
In which case, we are binding service in user 0 from other users and
security exception is thrown.
This fix assume it is WAI we always bind instant app resolver in user 0.
Fix: 38257043
Test: reboot, launch a work profile app that start an ACTION_VIEW intent
with http link. No crash observed.
Change-Id: Ic4e451b67ef127f05c3e594254b310da690a2324
Diffstat (limited to 'rs/java/android/renderscript/ProgramFragmentFixedFunction.java')
0 files changed, 0 insertions, 0 deletions