You've already forked TrickyStore
mirror of
https://github.com/5ec1cff/TrickyStore.git
synced 2025-09-06 06:37:07 +00:00
reformat code
This commit is contained in:
@@ -4,7 +4,6 @@ import android.os.Binder
|
|||||||
import android.os.IBinder
|
import android.os.IBinder
|
||||||
import android.os.Parcel
|
import android.os.Parcel
|
||||||
|
|
||||||
|
|
||||||
open class BinderInterceptor : Binder() {
|
open class BinderInterceptor : Binder() {
|
||||||
sealed class Result
|
sealed class Result
|
||||||
data object Skip : Result()
|
data object Skip : Result()
|
||||||
@@ -91,7 +90,6 @@ open class BinderInterceptor : Binder() {
|
|||||||
reply!!.writeInt(3)
|
reply!!.writeInt(3)
|
||||||
reply.writeInt(result.code)
|
reply.writeInt(result.code)
|
||||||
reply.writeLong(result.reply.dataSize().toLong())
|
reply.writeLong(result.reply.dataSize().toLong())
|
||||||
println("override reply code=${result.code} size=${result.reply.dataSize()}")
|
|
||||||
reply.appendFrom(result.reply, 0, result.reply.dataSize())
|
reply.appendFrom(result.reply, 0, result.reply.dataSize())
|
||||||
result.reply.recycle()
|
result.reply.recycle()
|
||||||
}
|
}
|
||||||
@@ -101,8 +99,7 @@ open class BinderInterceptor : Binder() {
|
|||||||
reply.appendFrom(result.data, 0, result.data.dataSize())
|
reply.appendFrom(result.data, 0, result.data.dataSize())
|
||||||
result.data.recycle()
|
result.data.recycle()
|
||||||
}
|
}
|
||||||
else -> {}
|
|
||||||
}
|
}
|
||||||
return true
|
return true
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user