summaryrefslogtreecommitdiff
path: root/tests/Codegen/src/com/android/codegentest/SampleWithNestedDataClasses.java
diff options
context:
space:
mode:
authorJeff Sharkey <jsharkey@android.com>2020-10-06 14:54:58 -0600
committerJeff Sharkey <jsharkey@android.com>2020-10-07 21:24:05 -0600
commitb93712f623e29ba7beec2253a239be3129f4100a (patch)
tree6c7b90c266e938d037442b7b50193922c8cada9d /tests/Codegen/src/com/android/codegentest/SampleWithNestedDataClasses.java
parentb381789fa8a8225858531f33ecc9815b367e2aee (diff)
Tighten up Binder.clearCallingIdentity() usage.
This is a third CL in a chain that adjusts existing malformed code to follow AndroidFrameworkBinderIdentity best-practices. Specifically, if a thread clears an identity they need to restore it to avoid obscure security vulnerabilities. In addition, the relevant "try" block must start immediately after the identity is cleared to ensure that its restored if/when any exceptions are thrown. Bug: 155703208 Test: make Exempt-From-Owner-Approval: trivial refactoring Change-Id: I74cb958b68d55a647547aae21baff6ddc364859b
Diffstat (limited to 'tests/Codegen/src/com/android/codegentest/SampleWithNestedDataClasses.java')
0 files changed, 0 insertions, 0 deletions