Skip to content
Commit 013cb91a authored by Alice Kuo's avatar Alice Kuo
Browse files

Use finally block for Binder.restoreCallingIdentity

1. Use final for Binder.clearCallingIdentity() to protect not being overwritten.
2. Protect it in the finally block of the try statement to avoid missing restore the CallingIdentity as exception.

Bug: 189819183
Test: Manual test
Change-Id: I2dd4cfc1aacecb0b77fa4c82b48b24b284271779
Merged-In: I2dd4cfc1aacecb0b77fa4c82b48b24b284271779
parent 65db2bd3
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