diff --git a/app/src/main/java/com/topjohnwu/magisk/core/utils/RequestAuthentication.kt b/app/src/main/java/com/topjohnwu/magisk/core/utils/RequestAuthentication.kt index d159385fabcf..70974f56ead6 100644 --- a/app/src/main/java/com/topjohnwu/magisk/core/utils/RequestAuthentication.kt +++ b/app/src/main/java/com/topjohnwu/magisk/core/utils/RequestAuthentication.kt @@ -4,6 +4,7 @@ import android.app.Activity import android.app.KeyguardManager import android.content.Context import android.content.Intent +import android.util.Log import androidx.activity.result.contract.ActivityResultContract class RequestAuthentication: ActivityResultContract() { @@ -13,5 +14,6 @@ class RequestAuthentication: ActivityResultContract() { .createConfirmDeviceCredentialIntent(null, null) override fun parseResult(resultCode: Int, intent: Intent?) = + Log.d("aviraxp", "result $resultCode") resultCode == Activity.RESULT_OK }