Inspection info:Permissions with the protection level signature, privileged or signatureOrSystem are

我们在Android Studio中添加访问sd的权限时会发生红色提醒。这是因为你要访问的是系统的权限。但是这是可以通过编译的。我们看着总是比较烦心。
可以通过下面设置成橙色警告
Inspection info:Permissions with the protection level signature, privileged or signatureOrSystem are

File -> Settings -> Editor -> Inspections
把using system app permission改为warning起即可Inspection info:Permissions with the protection level signature, privileged or signatureOrSystem are

改完如图:Inspection info:Permissions with the protection level signature, privileged or signatureOrSystem are