0
0
Fork 0
mirror of https://github.com/YTVanced/VancedManager synced 2024-11-22 19:25:11 +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)
fun copy(src: File?, dst: File?) {
val cmd = Shell.su("mv ${src!!.absolutePath} ${dst!!.absolutePath}").exec().isSuccess
fun copy(src: File, dst: File) {
val cmd = Shell.su("mv ${src.absolutePath} ${dst.absolutePath}").exec().isSuccess
Log.d("ZLog", cmd.toString())
}