Add the MANAGE_APP_OPS_MODES permission to the SYSTEM_SUPERVISION role.
This is necessary to fix a SecurityException when calling `AppOpsManager#setMode`. Device owners and profile owners implicitly have permission to call this method. To ensure feature parity, the SYSTEM_SUPERVISION needs the role-based device management permission.
Relnote: N/A
Bug: 433802819
Test: N/A
Flag: android.permission.flags.supervision_role_enabled
LOW_COVERAGE_REASON=NON_CODE_ONLY
Change-Id: I14b56385677ee6708cefce1ea50aa38c3e8ea559
1 file changed