mirror of
https://github.com/commons-app/apps-android-commons.git
synced 2025-10-26 20:33:53 +01:00
Remove persistable permission for in-app camera as it's not required
This commit is contained in:
parent
d8b6db5b82
commit
b57f580f53
1 changed files with 0 additions and 1 deletions
|
|
@ -414,7 +414,6 @@ object FilePicker : Constants {
|
||||||
callbacks: Callbacks
|
callbacks: Callbacks
|
||||||
) {
|
) {
|
||||||
if (activityResult.resultCode == Activity.RESULT_OK) {
|
if (activityResult.resultCode == Activity.RESULT_OK) {
|
||||||
takePersistableUriPermissions(activity, activityResult)
|
|
||||||
try {
|
try {
|
||||||
val lastImageUri = PreferenceManager.getDefaultSharedPreferences(activity)
|
val lastImageUri = PreferenceManager.getDefaultSharedPreferences(activity)
|
||||||
.getString(KEY_PHOTO_URI, null)
|
.getString(KEY_PHOTO_URI, null)
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue