commit | 54c51cee5beddc743292bdc0d555064d02911ac2 | [log] [tgz] |
---|---|---|
author | Hai Zhang <zhanghai@google.com> | Fri Aug 16 16:03:24 2019 -0700 |
committer | Hai Zhang <zhanghai@google.com> | Thu Aug 29 12:07:54 2019 -0700 |
tree | 40f4409b284b9bcb11749a0ad0d4b0fd200737aa | |
parent | 72fcdcde4c211d259b7c5c24b373f2c05debc1ff [diff] |
Make runtime permission check return granted for pre-M apps ... if they have requested it, of course. Pre-M apps would never expect the permission to be revoked, and we rely on app op for the final decision. This change allows us to use the actual permission state to store/derive the app op state. Bug: 136503238 Test: atest CtsAppSecurityHostTestCases CtsPermissionTestCases Change-Id: I9473a265a5eadef994d8bddb0700c08ad10ba654