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
Ignore-AOSP-First: prevent merge conflict
Change-Id: I2dd4cfc1aacecb0b77fa4c82b48b24b284271779
1 file changed
tree: b577e8414176ef11ea3a209daef9ef4b6d85b4e6
  1. framework/
  2. service/