commit | 4af0462dd04b5cdc0953a9d2dc557d7b9df35265 | [log] [tgz] |
---|---|---|
author | Aayush Gupta <aayushgupta219@gmail.com> | Wed Nov 15 21:30:20 2023 +0530 |
committer | Aayush Gupta <aayushgupta219@gmail.com> | Fri Nov 17 12:20:35 2023 +0530 |
tree | 43d86df34cc2d49e563bcede969cdba1f8ec854a | |
parent | 46895cd20c19049c9a4ba8333c4526f1c7dd7d47 [diff] |
SaveImage: Check and strip userID from URI before accessing https://github.com/LineageOS/android_frameworks_base/commit/0236d1c5cf434af7f0b1cd71b47316496d1faeca started adding userId in the URIs of screenshots. Check and only proceed if the user can access the URI. This fixes edit action as well that is broken due to mentioned change. Issue: calyxos#1942 Change-Id: I42833a6c61ed5296fbfeda3564400581c2b29b8a Signed-off-by: Aayush Gupta <aayushgupta219@gmail.com>