commit | 96090ef9dc8aa22f99d73fd0253708567a4d248e | [log] [tgz] |
---|---|---|
author | Karthik Ravi Shankar <karthikrs@google.com> | Wed Dec 06 18:06:21 2017 -0800 |
committer | Karthik Ravi Shankar <karthikrs@google.com> | Mon Mar 19 17:15:28 2018 +0000 |
tree | 380e468697a802deaa7d016adba662d84f51eff3 | |
parent | bd24572e17105768304a810d59b59e075b741529 [diff] |
Fix the binder calling identity in setVrMode When an app calls setVrMode, we end up moving the task stack which needs MANAGE_ACTIVITY_STACKS permission which the app can never get. So, clear the binder identity of the app while making this call. Testing: android.vr.cts.VrSetFIFOThreadTest Bug: 65743448 Change-Id: Id37968f4fb5531edadb0726e5fc04b2470d2d0e5 Signed-off-by: Karthik Ravi Shankar <karthikrs@google.com> (cherry picked from commit ac214bbfa2ebd8863cb36e3f002760ef3293b0da)