commit | aee66e22e71e68d6e1406e46554a7c6a7dfa70ee | [log] [tgz] |
---|---|---|
author | Svetoslav Ganov <svetoslavganov@google.com> | Thu Dec 29 14:36:58 2016 -0800 |
committer | android-build-team Robot <android-build-team-robot@google.com> | Wed Aug 23 19:15:23 2017 +0000 |
tree | 23a4c6223ee45da6134e287bd1b38bf3cc8d67e7 | |
parent | 640ff933943c7bdf6dba53e78c7074c688268de7 [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)