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:
parent
7d68735706
commit
bff06750cd
1 changed files with 2 additions and 2 deletions
|
@ -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())
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue