commit | d8323e8684a837040d7dd291ce4c356979b5f519 | [log] [tgz] |
---|---|---|
author | mattgilbride <mattgilbride@google.com> | Tue Oct 25 14:22:51 2022 +0000 |
committer | mattgilbride <mattgilbride@google.com> | Mon Nov 21 20:24:28 2022 +0000 |
tree | c4671567f7113f414309e3444e142191d1c7d2f9 | |
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