Add 4 app op permission App List
- All files access - Display over other apps - Media management apps - Modify system settings Bug: 235727273 Test: Manual with Settings App Change-Id: I60abb44558f535d5e26d498164d5429ede4033f8
This commit is contained in:
@@ -90,7 +90,7 @@ class AppNotificationRepository(private val context: Context) {
|
||||
// If the app targets T but has not requested the permission, we cannot change the
|
||||
// permission state.
|
||||
return app.targetSdkVersion < Build.VERSION_CODES.TIRAMISU ||
|
||||
hasRequestPermission(app, Manifest.permission.POST_NOTIFICATIONS)
|
||||
app.hasRequestPermission(Manifest.permission.POST_NOTIFICATIONS)
|
||||
}
|
||||
|
||||
fun setEnabled(app: ApplicationInfo, enabled: Boolean): Boolean {
|
||||
|
Reference in New Issue
Block a user