summaryrefslogtreecommitdiff
path: root/libs/hwui/Readback.cpp
diff options
context:
space:
mode:
author Alice Kuo <aliceypkuo@google.com> 2021-06-02 10:34:56 +0800
committer Alice Kuo <aliceypkuo@google.com> 2021-06-03 00:06:11 +0000
commit013cb91a69b0da5f1b0f8c66ddbdc972b3436447 (patch)
treea9acdfad441924e22ccfc5a7a9e3764ed4fa61e4 /libs/hwui/Readback.cpp
parent65db2bd3b38fefb4154c252e893bf616c31091ab (diff)
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
Diffstat (limited to 'libs/hwui/Readback.cpp')
0 files changed, 0 insertions, 0 deletions