commit | 8b943f40b6efc94490d79b1fe1bd7e6db0657eb0 | [log] [tgz] |
---|---|---|
author | Svetoslav Ganov <svetoslavganov@google.com> | Thu Dec 29 14:40:11 2016 -0800 |
committer | Zach Jang <zachjang@google.com> | Thu Mar 09 19:16:08 2017 +0000 |
tree | f69016653d95e351cbb0b7f1e2620f35e36a1bd0 | |
parent | 1f458fdc66c27977a2f93ba473d120aad190282a [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: I4e86ee54e61d2fa45be601fae577986ef9a84673