diff options
| author | 2018-11-14 17:32:41 +0000 | |
|---|---|---|
| committer | 2018-11-26 17:46:31 +0000 | |
| commit | 91a048093f8522758a8df4b73b0fd0954a48ec15 (patch) | |
| tree | 984140b97f9a8f3d452b465854ea62c8267905eb /services/inputflinger/InputReader.cpp | |
| parent | 910c0aa1384ee3122a4d3929ca3b94943a3dc539 (diff) | |
Only propagates work source when explicitly set.
- Explicitly set means calling setCallingWorkSourceUid,
restoreCallingWorkSource or clearCallingWorkSource
- We clear the work source when handling BR_TRANSACTION to make sure the
work source is not propagated even when AIDL is not used (i.e. when
Parcel#enforceInterface is not called)
- We also restore the original work source after the transaction to
handle nested calls.
Test: atest binderLibTest BinderWorkSourceTest
Change-Id: Ia3ade2d2c5ebde5b1de2573943969fcb0d02d441
Diffstat (limited to 'services/inputflinger/InputReader.cpp')
0 files changed, 0 insertions, 0 deletions