diff options
author | Felipe Leme <felipeal@google.com> | 2018-01-26 11:43:07 -0800 |
---|---|---|
committer | Felipe Leme <felipeal@google.com> | 2018-01-26 13:20:39 -0800 |
commit | 809abd45724b726b0153af8ddad8663dbbcfa3a4 (patch) | |
tree | 6ccfeda0151d832b077b237d336e4718a6b4fcf1 /tools/aapt2/java/JavaClassGenerator_test.cpp | |
parent | 1db967243dfbeb7ecdba201e260afca26fa4b8c3 (diff) |
Minor fixes on URI permission methods.
- clearGrantedUriPermissions() was clearing all permissions, including those
where the app was the source of the permission.
- clearGrantedUriPermissions() was not thread safe.
- takePersistableUriPermission() was creating an extra object.
Bug: 63720392
Test: manual verification
Change-Id: I57a7b2c40b0e258f373f50badbb376daad3ca2d0
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator_test.cpp')
0 files changed, 0 insertions, 0 deletions