summaryrefslogtreecommitdiff
path: root/libs/input/PointerController.cpp
diff options
context:
space:
mode:
author jiabin <jiabin@google.com> 2022-11-09 16:02:45 -0800
committer jiabin <jiabin@google.com> 2023-01-18 15:27:45 -0800
commit80abaadaf926af6f377c05d2d745a1f52a82649e (patch)
tree3e033203a945379a40e3a62cfa524a7f1f24055c /libs/input/PointerController.cpp
parent0066953744dd84334765201e0e10edb7ec84d86d (diff)
Add try-finally block after clearing calling identity.
After calling Binder.clearCallingIdentity, a try-finally block is recommended to run Binder.restoreCallingIdentity so that it is sure that the caller's identity is restored properly. Bug: 189818518 Test: make Change-Id: Ia99fabbeeb847d002edab6701dadc88096ebe265
Diffstat (limited to 'libs/input/PointerController.cpp')
0 files changed, 0 insertions, 0 deletions