Some platforms do not like null Bundles

This commit is contained in:
topjohnwu
2019-11-25 19:09:54 -05:00
parent 276535dad6
commit 72edbfc455
2 changed files with 2 additions and 2 deletions

View File

@@ -28,7 +28,7 @@ object SuHandler : ProviderCallHandler {
override fun call(context: Context, method: String, arg: String?, extras: Bundle?): Bundle? {
invoke(context.wrap(), method, extras)
return null
return Bundle.EMPTY
}
operator fun invoke(context: Context, action: String?, data: Bundle?) {