Fix deprecated APIs

This commit is contained in:
Mygod
2020-12-16 06:20:33 +08:00
parent 131cdefcf7
commit 3b7c6f0ebf
14 changed files with 14 additions and 14 deletions

View File

@@ -2,10 +2,10 @@ package be.mygod.librootkotlinx
import android.os.Parcelable
import androidx.annotation.MainThread
import kotlinx.android.parcel.Parcelize
import kotlinx.coroutines.CoroutineScope
import kotlinx.coroutines.channels.Channel
import kotlinx.coroutines.channels.ReceiveChannel
import kotlinx.parcelize.Parcelize
interface RootCommand<Result : Parcelable?> : Parcelable {
/**

View File

@@ -8,7 +8,7 @@ import android.os.Parcel
import android.os.Parcelable
import android.util.*
import androidx.annotation.RequiresApi
import kotlinx.android.parcel.Parcelize
import kotlinx.parcelize.Parcelize
class NoShellException(cause: Throwable) : Exception("Root missing", cause)