commit | e9eda18076d170500dcec24ac78b5e89d5503b52 | [log] [tgz] |
---|---|---|
author | Jeff Sharkey <jsharkey@android.com> | Mon Mar 18 17:54:29 2019 -0600 |
committer | Jeff Sharkey <jsharkey@google.com> | Wed Mar 20 23:48:41 2019 +0000 |
tree | 9da5a589aec3000f954ec4ae07cf8842c8c68b40 | |
parent | afa18150a76d426c64559e2c4ad939ff1668781f [diff] |
Update permission checks for dual permission mode. Callers must hold both the old and new permissions, so that we can handle obscure cases like when an app targets Q but was installed on a device that was originally running on P before being upgraded to Q. Bug: 126785920, 126788266 Test: atest android.appsecurity.cts.ExternalStorageHostTest Exempt-From-Owner-Approval: trivial tests Change-Id: I7e474738053c0d7fb9e1a9a77911927558f9f051