DO NOT MERGE
[DO NOT MERGE] Don't allow permission change to runtime
Prevent apps to change permission protection level to dangerous
from any other type as this would allow a privilege escalation
where an app adds a normal permission in other app's group and
then redefines it as dangerous leading to the group auto-grant.
Test: Added a CTS test which passes.
(cherry picked from commit 8b943f40b6efc94490d79b1fe1bd7e6db0657eb0)
1 file changed