Skip to content
Commit 4c4ca9a5 authored by Jeff Sharkey's avatar Jeff Sharkey
Browse files

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
parent 38fa078f
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment