commit | 487b999b69d1f8c4d877cd627535700b938c01f0 | [log] [tgz] |
---|---|---|
author | Chalard Jean <jchalard@google.com> | Wed Aug 14 17:53:14 2019 +0900 |
committer | Mark Chien <markchien@google.com> | Thu Aug 29 08:49:09 2019 +0000 |
tree | 4471927df05b3e7ef1a49298075ef27b695d379f | |
parent | 24243f4e835f42435138fa0a91d89066839b5372 [diff] |
Correctly check permission and app identity for tethering Have the caller pass its package name. Appops will check that the UID belongs indeed to the package name, and that the UID has the requisite permissions. Also add WRITE_SETTINGS to the bluetooth process. Bug: 134649258 Test: atest PanServiceTest Change-Id: I6cf29c36cf6e7229abb5be4a108efb9b9600217d Merged-In: I6cf29c36cf6e7229abb5be4a108efb9b9600217d (cherry picked from commit f0ae367fa83ee3b2880971af7f1325e568f56677)