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
Loading
Please register or sign in to comment