summaryrefslogtreecommitdiff
path: root/framework/java/android/bluetooth/BluetoothCodecConfig.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
commitf1ecf2233c38adb0ca70b1dec8ef8dad28db8223 (patch)
treed595ad9c537cb44a4ef9755075e335a8fe385fba /framework/java/android/bluetooth/BluetoothCodecConfig.java
parent119a0467e8cec9c218d06012f03bd0c0072ed997 (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 'framework/java/android/bluetooth/BluetoothCodecConfig.java')
0 files changed, 0 insertions, 0 deletions