diff options
| author | 2022-10-25 14:22:51 +0000 | |
|---|---|---|
| committer | 2022-11-21 20:24:28 +0000 | |
| commit | d8323e8684a837040d7dd291ce4c356979b5f519 (patch) | |
| tree | c4671567f7113f414309e3444e142191d1c7d2f9 /libs/androidfw/ObbFile.cpp | |
| parent | 0b703be0c58eb83c85852bb04969a5d2a7ebba71 (diff) | |
Make getCallingUidOrThrow() not throw in clearCallingIdentity() blocks
The new method hasExplicitIdentity will track whether the caller is
within a Binder.clearCallingIdentity/restoreCallingIdentity block based
on packing this state information into the token returned by clearCallingIdentity.
Bug: b/252975769
Test: android.os.cts.BinderTest
Change-Id: I162db933f9e52cd6f9f46796bda11ad6216d3d66
Diffstat (limited to 'libs/androidfw/ObbFile.cpp')
0 files changed, 0 insertions, 0 deletions