diff options
author | Oli Lan <olilan@google.com> | 2021-03-10 11:19:55 +0000 |
---|---|---|
committer | Oli Lan <olilan@google.com> | 2021-03-11 12:39:57 +0000 |
commit | fddbb49c013f00b3f2d368179b7144ac7b06d10c (patch) | |
tree | 1abbb7430fa2866320435ffb20736f4513e44e34 /rs/java/android/renderscript/ProgramFragmentFixedFunction.java | |
parent | bc80405a5e8c4d8e1d7d4873889c4fe2b216ef7d (diff) |
Clear calling identity before retrieving app label for clipboard toast.
This fixes an issue where the source app in the clipboard access
toast was not displayed for apps targeting API 30+. This is because
the calling identity of the copying app was being used, resulting in
package visibility limitations being applied.
Bug: 182349975
Test: Manual, install app targeting API 30 and paste from another app.
Test: atest ClipboardManagerTest
Test: atest ManagedProfileCrossProfileTest#testCrossProfileCopyPaste
Change-Id: Icdd2d07a3e2855dba749dbbb3427fd3a8b217671
Diffstat (limited to 'rs/java/android/renderscript/ProgramFragmentFixedFunction.java')
0 files changed, 0 insertions, 0 deletions