diff options
author | Jeff Sharkey <jsharkey@android.com> | 2021-03-25 14:53:27 -0600 |
---|---|---|
committer | Jeff Sharkey <jsharkey@android.com> | 2021-03-25 14:56:22 -0600 |
commit | 5a94e30073039adfc7ef7abe9056db183f4715fb (patch) | |
tree | 3a090fecdd76187601a3b8eeaf3bd8a671b88a6a /rs/java/android/renderscript/ScriptIntrinsicBlend.java | |
parent | 2c8f0f027bdb69056d80952aa8d8c3ef14650ea3 (diff) |
Preserve implicit split-permissions on clear.
The platform implicitly issues a grant for new runtime permissions
which have been split from non-runtime permissions, but we discovered
that clearing data on an app will remove this implicit grant.
This change fixes that bug by preserving any implicit grants
during a resetRuntimePermissions() as long as the app being cleared
is still targeting an older SDK.
Bug: 183203469
Test: csuite-tradefed run commandAndExit csuite-app-launch --enable-module-dynamic-download --dynamic-download-args com.android.csuite.config.AppRemoteFileResolver:uri-template=/tmp/csuite-apk/{package} -l verbose --package com.skype.raider
Change-Id: I4afd59d6cc32cdd8916be1ceba5e01fd07832d1a
Diffstat (limited to 'rs/java/android/renderscript/ScriptIntrinsicBlend.java')
0 files changed, 0 insertions, 0 deletions