commit | a929cf01cfb8b6d138c8724d586a8b9de75c0fac | [log] [tgz] |
---|---|---|
author | Nikita Ioffe <ioffe@google.com> | Thu Jan 03 13:35:22 2019 +0000 |
committer | Nikita Ioffe <ioffe@google.com> | Wed Jan 09 13:15:56 2019 +0000 |
tree | 99f8c404479c29f78efa1f9834025a7adde11b27 | |
parent | 424fc04c862abd6299c71719006aba9bd5a09913 [diff] |
Add Binder.getCallingUidOrThrow method Binder.getCallingUidOrThrow is a pure java method which uses Binder.isHandlingTransaction @CriticalNative method. Binder.isHandlingTransaction itself is not exposed a public API. Bug: 62253865 Fix: 62253865 Test: Added a testcase to BinderTest.java to verify ISE is thrown Change-Id: I93a1b6c24a4747b8b70c32d291b4706b6159a3d0