summaryrefslogtreecommitdiff
path: root/libs/hwui/FrameInfoVisualizer.cpp
diff options
context:
space:
mode:
author Miranda Kephart <mkephart@google.com> 2023-04-28 10:58:46 -0400
committer Miranda Kephart <mkephart@google.com> 2023-06-01 19:00:13 +0000
commit589ce3909c6e9e30f073df86e7de4503854a032a (patch)
tree88186543bb297aaf375a995a54def8d37294db57 /libs/hwui/FrameInfoVisualizer.cpp
parentb43c742dd7745f2278972068d0624237c1a9c105 (diff)
[DO NOT MERGE] Update quickshare intent rather than recreating
Currently, we extract the quickshare intent and re-wrap it as a new PendingIntent once we get the screenshot URI. This is insecure as it leads to executing the original with SysUI's permissions, which the app may not have. This change switches to using Intent.fillin to add the URI, keeping the original PendingIntent and original permission set. Bug: 278720336 Fix: 278720336 Test: manual (to test successful quickshare), atest SaveImageInBackgroundTaskTest (to verify original pending intent unchanged) Change-Id: Icad3d5f939fcfb894e2038948954bc2735dbe326
Diffstat (limited to 'libs/hwui/FrameInfoVisualizer.cpp')
0 files changed, 0 insertions, 0 deletions