Skip to content
Commit 6bbf0940 authored by Saumya Pathak's avatar Saumya Pathak
Browse files

Check AppOp mode first in hasExternalStorageAccess

MANAGE_EXTERNAL_STORAGE is an AppOp permission. Order of check
should be AppOp first, and if its MODE_DEFAULT then check permission
with PackageManager.

Bug: 213876995
Test: manual
Change-Id: I0464db33fc3ec24eb103d1abcaf5c722a5757604
parent ecd34d4f
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment