0
0
Fork 0
mirror of https://github.com/YTVanced/VancedManager synced 2024-11-26 13:12:59 +00:00

fix PackageHelper.copy npe

This commit is contained in:
HaliksaR 2020-11-15 06:38:14 +07:00
parent 7d68735706
commit bff06750cd

View file

@ -579,8 +579,8 @@ object PackageHelper {
@Throws(IOException::class) @Throws(IOException::class)
fun copy(src: File?, dst: File?) { fun copy(src: File, dst: File) {
val cmd = Shell.su("mv ${src!!.absolutePath} ${dst!!.absolutePath}").exec().isSuccess val cmd = Shell.su("mv ${src.absolutePath} ${dst.absolutePath}").exec().isSuccess
Log.d("ZLog", cmd.toString()) Log.d("ZLog", cmd.toString())
} }