commit | 894d63476f7ea70a5c807add125765d7c82cb0e5 | [log] [tgz] |
---|---|---|
author | Svetoslav Ganov <svetoslavganov@google.com> | Thu Dec 29 14:36:58 2016 -0800 |
committer | gitbuildkicker <android-build@google.com> | Thu Mar 23 16:10:26 2017 -0700 |
tree | 21240bddda60ebf5287fa4e0f80474e1336ac819 | |
parent | 4f6d0200bf2f0b3dc7a93ce02bbc88030bcb6ecf [diff] |
[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. Bug: 33860747 Change-Id: I1ccf546f78ee79ff027cb98124be81c8e5265a82 (cherry picked from commit fe430be9f102893c95258cc81589df132b7d02b3)