@@ -174,19 +174,19 @@ class FlClashVpnService : VpnService() {
|
|||||||
inner class LocalBinder : Binder() {
|
inner class LocalBinder : Binder() {
|
||||||
fun getService(): FlClashVpnService = this@FlClashVpnService
|
fun getService(): FlClashVpnService = this@FlClashVpnService
|
||||||
|
|
||||||
// override fun onTransact(code: Int, data: Parcel, reply: Parcel?, flags: Int): Boolean {
|
override fun onTransact(code: Int, data: Parcel, reply: Parcel?, flags: Int): Boolean {
|
||||||
// try {
|
try {
|
||||||
// val isSuccess = super.onTransact(code, data, reply, flags)
|
val isSuccess = super.onTransact(code, data, reply, flags)
|
||||||
// if (!isSuccess) {
|
if (!isSuccess) {
|
||||||
// CoroutineScope(Dispatchers.Main).launch {
|
CoroutineScope(Dispatchers.Main).launch {
|
||||||
// GlobalState.getCurrentTitlePlugin()?.handleStop()
|
GlobalState.getCurrentTitlePlugin()?.handleStop()
|
||||||
// }
|
}
|
||||||
// }
|
}
|
||||||
// return isSuccess
|
return isSuccess
|
||||||
// } catch (e: RemoteException) {
|
} catch (e: RemoteException) {
|
||||||
// throw e
|
throw e
|
||||||
// }
|
}
|
||||||
// }
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user