summaryrefslogtreecommitdiff
path: root/rs/java/android/renderscript/Program.java
diff options
context:
space:
mode:
authorJeff Sharkey <jsharkey@android.com>2018-02-25 14:43:27 -0700
committerJeff Sharkey <jsharkey@android.com>2018-02-26 14:43:11 -0700
commitd60e07f04fc85f21fe357930c84c90ec666a7c6e (patch)
treed485bf645a6a3aecf4d018450e9ad0ecef9412f0 /rs/java/android/renderscript/Program.java
parentd0f517b9df46926d803c7d9963c70791b2af1c01 (diff)
Add explicit method to clear clipboard.
Fix several bugs along the way: -- Clipboard permissions weren't being revoked for related users when a new primary clip was set. -- checkGrantUriPermissionLocked() wasn't checking to see if an otherwise-open provider requires permissions on specific paths. -- When granting Uri permissions for clipboard data, we need to include the real source UID for the grant; we no longer allow the system UID to source grants, to avoid confused deputy problems. -- Use the Handler passed into ClipboardManager constructor so it lives on the right thread. Test: cts-tradefed run commandAndExit cts-dev -m CtsContentTestCases -t android.content.cts.ClipboardManagerTest Test: cts-tradefed run commandAndExit cts-dev -m CtsAppSecurityHostTestCases -t android.appsecurity.cts.AppSecurityTests Bug: 71711122, 73797203 Change-Id: I99315035efc0c6a90471c279311294dc86766c8d
Diffstat (limited to 'rs/java/android/renderscript/Program.java')
0 files changed, 0 insertions, 0 deletions