commit | d85e7da0841f01b581d9ffbcae66b01d90f3a33e | [log] [tgz] |
---|---|---|
author | Hyoungho Choi <hh46.choi1@samsung.corp-partner.google.com> | Fri Feb 11 13:25:05 2022 +0900 |
committer | Zim <zezeozue@google.com> | Mon Feb 14 11:47:40 2022 +0000 |
tree | 8b68bd0ac8a5aba469f2600814d1ca517a68d2c4 | |
parent | 455189297b09077ec5e163ba4ca2bf565a006ef5 [diff] |
Add selection parameter to enforceCallingPermission Selection and selectionArgs are not used when checking to see if caller has direct write access. It makes to get all rows of which owner_package_name is caller package name and volume_name is a volume where the file is stored. It's good to get only a row associated to the file. Bug: 218940560 Test: atest MediaProviderTests, manual test Change-Id: I409fe6cc3773f000f79efa1992ea57d3485a75ef