Revert partial media permission handling for proprietary build
This commit is contained in:
parent
2c82c1bee8
commit
68e1c24d90
2 changed files with 2 additions and 4 deletions
|
@ -20,7 +20,6 @@ import com.simplemobiletools.gallery.pro.extensions.config
|
||||||
import com.simplemobiletools.gallery.pro.extensions.fixDateTaken
|
import com.simplemobiletools.gallery.pro.extensions.fixDateTaken
|
||||||
import com.simplemobiletools.gallery.pro.extensions.tryDeleteFileDirItem
|
import com.simplemobiletools.gallery.pro.extensions.tryDeleteFileDirItem
|
||||||
import com.simplemobiletools.gallery.pro.helpers.getPermissionToRequest
|
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.PhotoEditorSettingsList
|
||||||
import ly.img.android.pesdk.assets.filter.basic.FilterPackBasic
|
import ly.img.android.pesdk.assets.filter.basic.FilterPackBasic
|
||||||
import ly.img.android.pesdk.assets.font.basic.FontPackBasic
|
import ly.img.android.pesdk.assets.font.basic.FontPackBasic
|
||||||
|
@ -63,7 +62,7 @@ class NewPhotoEditActivity : SimpleActivity() {
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
|
|
||||||
handlePartialMediaPermissions(getPermissionsToRequest()) {
|
handlePermission(getPermissionToRequest()) {
|
||||||
if (it) {
|
if (it) {
|
||||||
initEditActivity()
|
initEditActivity()
|
||||||
} else {
|
} else {
|
||||||
|
|
|
@ -17,7 +17,6 @@ import com.simplemobiletools.gallery.pro.extensions.config
|
||||||
import com.simplemobiletools.gallery.pro.extensions.fixDateTaken
|
import com.simplemobiletools.gallery.pro.extensions.fixDateTaken
|
||||||
import com.simplemobiletools.gallery.pro.extensions.tryDeleteFileDirItem
|
import com.simplemobiletools.gallery.pro.extensions.tryDeleteFileDirItem
|
||||||
import com.simplemobiletools.gallery.pro.helpers.getPermissionToRequest
|
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.VideoEditorSettingsList
|
||||||
import ly.img.android.pesdk.assets.filter.basic.FilterPackBasic
|
import ly.img.android.pesdk.assets.filter.basic.FilterPackBasic
|
||||||
import ly.img.android.pesdk.assets.font.basic.FontPackBasic
|
import ly.img.android.pesdk.assets.font.basic.FontPackBasic
|
||||||
|
@ -58,7 +57,7 @@ class NewVideoEditActivity : SimpleActivity() {
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
|
|
||||||
handlePartialMediaPermissions(getPermissionsToRequest()) {
|
handlePermission(getPermissionToRequest()) {
|
||||||
if (it) {
|
if (it) {
|
||||||
initEditActivity()
|
initEditActivity()
|
||||||
} else {
|
} else {
|
||||||
|
|
Loading…
Reference in a new issue