use the copy/delete instead of Move already from Android 7

This commit is contained in:
tibbi 2018-01-02 15:45:06 +01:00
parent e518977586
commit 2ed0ab57bd

View file

@ -186,7 +186,7 @@ open class BaseSimpleActivity : AppCompatActivity() {
toast(R.string.copying)
startCopyMove(files, destinationFolder, isCopyOperation, copyPhotoVideoOnly)
} else {
if (isPathOnSD(source) || isPathOnSD(destination) || files.first().isDirectory || isOreoPlus()) {
if (isPathOnSD(source) || isPathOnSD(destination) || files.first().isDirectory || isNougatPlus()) {
handleSAFDialog(File(source)) {
toast(R.string.moving)
startCopyMove(files, destinationFolder, false, copyPhotoVideoOnly)