commit | 4c4ca9a50c43e56d6c448c18b06b7b3a3744c123 | [log] [tgz] |
---|---|---|
author | Jeff Sharkey <jsharkey@android.com> | Fri Oct 16 15:26:45 2020 -0600 |
committer | Jeff Sharkey <jsharkey@android.com> | Mon Oct 19 22:12:10 2020 -0600 |
tree | a1b287cd62e96ddb26af8f7a1a67ac7dfb2742e9 | |
parent | 38fa078f4e829df1ddbd79e36917434cfb7f8a80 [diff] |
Make restoreCallingIdentity() @CriticalNative. The validation check that might throw an exception is almost a decade old at this point, and isn't likely to be hit. In addition, the recently added "AndroidFrameworkBinderIdentity" Error Prone checker ensures that clients working with these identities are well-behaved. Removing this exception code is what enables @CriticalNative. Bug: 171078335 Test: none Change-Id: Ib4cc9becf325979a97a9b0e58ac2277f3b226aaa