summaryrefslogtreecommitdiff
path: root/libs/hwui/HardwareBitmapUploader.cpp
diff options
context:
space:
mode:
author Ajinkya Chalke <achalke@google.com> 2024-08-29 09:54:12 +0000
committer Ajinkya Chalke <achalke@google.com> 2024-09-05 13:30:14 +0000
commita0d49f65830c51ad879b746f25880c8d6223c97b (patch)
treed883d4dce14b71c21bd2b2d9308946ce3d8e1199 /libs/hwui/HardwareBitmapUploader.cpp
parent61614716dc98b4096c9b136113a8d0ca9a781b72 (diff)
Handle cross profile error in backlinks
- While sending screenshots of cross profile apps to note-taking apps is fine, sending deeplinks doesn't work as the note-taking app will not be able to open the backlink in the other profile. So, don't backlink if the screenshotted app is not of same user and show an error msg to user. - Also, updated the ViewModel to inject application context to retrieve PackageManager from appropriate user's context instead of injecting and using current user's PackageManager. Bug: 356513124 Test: atest AppClipsActivityTest AppClipsViewModelTest Flag: com.android.systemui.app_clips_backlinks Change-Id: Ifad8d58212c82b0dae13ca881ff187f449a085aa
Diffstat (limited to 'libs/hwui/HardwareBitmapUploader.cpp')
0 files changed, 0 insertions, 0 deletions