commit | a80cead9573d9ac2d692e296ae5798ceaf954b81 | [log] [tgz] |
---|---|---|
author | Jack He <siyuanh@google.com> | Tue Apr 23 20:00:18 2019 -0700 |
committer | Jack He <siyuanh@google.com> | Tue Apr 23 22:35:31 2019 -0700 |
tree | 4a243ffb06ddefd29353d6b775765692678428ef | |
parent | fdc8356a6f6286ea297c10d1c6d12e69ac574b69 [diff] |
Bluetooth: Check if packageName belongs to callingUid in binder calls * Several Bluetooth APIs take packageName parameter from Apps, which is resolved through ActivityThread.currentPackageName() * Add checks to make sure that packageName passed through binder calls actually belongs to the calling uid Bug: 120574260 Test: make, enable/disable Bluetooth Change-Id: If6593cf8cbab91eb27b9f22b635f984c04ec2de2