Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 32bc76dc authored by tibbi's avatar tibbi
Browse files

catch all exceptions during file renaming

parent b61b879a
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -7,7 +7,7 @@ buildscript {
        propMinSdkVersion = 21
        propTargetSdkVersion = propCompileSdkVersion
        propVersionCode = 1
        propVersionName = '5.1.2'
        propVersionName = '5.1.3'
        kotlin_version = '1.2.71'
    }

+1 −1
Original line number Diff line number Diff line
@@ -571,7 +571,7 @@ fun BaseSimpleActivity.renameFile(oldPath: String, newPath: String, callback: ((
                        callback?.invoke(false)
                    }
                }
            } catch (e: SecurityException) {
            } catch (e: Exception) {
                showErrorToast(e)
                runOnUiThread {
                    callback?.invoke(false)