Revert partial media permission handling for proprietary build

This commit is contained in:
Ensar Sarajčić 2023-08-30 09:06:00 +02:00
parent 2c82c1bee8
commit 68e1c24d90
2 changed files with 2 additions and 4 deletions

View file

@ -20,7 +20,6 @@ import com.simplemobiletools.gallery.pro.extensions.config
import com.simplemobiletools.gallery.pro.extensions.fixDateTaken
import com.simplemobiletools.gallery.pro.extensions.tryDeleteFileDirItem
import com.simplemobiletools.gallery.pro.helpers.getPermissionToRequest
import com.simplemobiletools.gallery.pro.helpers.getPermissionsToRequest
import ly.img.android.pesdk.PhotoEditorSettingsList
import ly.img.android.pesdk.assets.filter.basic.FilterPackBasic
import ly.img.android.pesdk.assets.font.basic.FontPackBasic
@ -63,7 +62,7 @@ class NewPhotoEditActivity : SimpleActivity() {
return
}
handlePartialMediaPermissions(getPermissionsToRequest()) {
handlePermission(getPermissionToRequest()) {
if (it) {
initEditActivity()
} else {

View file

@ -17,7 +17,6 @@ import com.simplemobiletools.gallery.pro.extensions.config
import com.simplemobiletools.gallery.pro.extensions.fixDateTaken
import com.simplemobiletools.gallery.pro.extensions.tryDeleteFileDirItem
import com.simplemobiletools.gallery.pro.helpers.getPermissionToRequest
import com.simplemobiletools.gallery.pro.helpers.getPermissionsToRequest
import ly.img.android.pesdk.VideoEditorSettingsList
import ly.img.android.pesdk.assets.filter.basic.FilterPackBasic
import ly.img.android.pesdk.assets.font.basic.FontPackBasic
@ -58,7 +57,7 @@ class NewVideoEditActivity : SimpleActivity() {
return
}
handlePartialMediaPermissions(getPermissionsToRequest()) {
handlePermission(getPermissionToRequest()) {
if (it) {
initEditActivity()
} else {