commit | 40468fc148b65465538434060d14e9f1b43dbd15 | [log] [tgz] |
---|---|---|
author | mrulhania <mrulhania@google.com> | Fri Oct 25 11:58:38 2024 -0700 |
committer | mrulhania <mrulhania@google.com> | Mon Oct 28 22:08:58 2024 -0700 |
tree | dea6bb6bb6ad4c3479d4ed148477c132147a211b | |
parent | e62e7c8391d142d4d71831845a1c5fa835d11f82 [diff] |
Don't override user choice during OTA upgrade or pregrants Some permissions may be granted to an app during OTA upgrade for compatibility reasons. We don't grant a permission if the permission was denied by the user, ask every time should also be treated similarly. OTA permission upgrade flow shouldn't override/grant the permission if user has selected ask every time. Test: presubmit Bug: 375500721 FLAG: EXEMPT bug fix Change-Id: I1d7d14bcb982695f28164c0ce03b4a2dbb3e04a6