Loading app/src/main/java/foundation/e/apps/utils/ParentalControlAuthenticator.kt +2 −3 Original line number Diff line number Diff line Loading @@ -12,8 +12,8 @@ This class is a singleton object ParentalControlAuthenticator { private const val KEY_PARENTAL_CONTROL_AUTHENTICATION = "foundation.e.parentalcontrol.START_AUTHENTICATE" //Parental Control intent const val KEY_PARENTAL_CONTROL_RESULT = "authentication_result" //Parental Control Key "foundation.e.parentalcontrol.START_AUTHENTICATE" const val KEY_PARENTAL_CONTROL_RESULT = "authentication_result" private var launcher: ActivityResultLauncher<Intent>? = null private var authResultDeferred: CompletableDeferred<Boolean>? = null Loading @@ -32,7 +32,6 @@ object ParentalControlAuthenticator { authResultDeferred?.complete(false) } // Await the Authenticate from Parental Control return authResultDeferred?.await() == true } Loading Loading
app/src/main/java/foundation/e/apps/utils/ParentalControlAuthenticator.kt +2 −3 Original line number Diff line number Diff line Loading @@ -12,8 +12,8 @@ This class is a singleton object ParentalControlAuthenticator { private const val KEY_PARENTAL_CONTROL_AUTHENTICATION = "foundation.e.parentalcontrol.START_AUTHENTICATE" //Parental Control intent const val KEY_PARENTAL_CONTROL_RESULT = "authentication_result" //Parental Control Key "foundation.e.parentalcontrol.START_AUTHENTICATE" const val KEY_PARENTAL_CONTROL_RESULT = "authentication_result" private var launcher: ActivityResultLauncher<Intent>? = null private var authResultDeferred: CompletableDeferred<Boolean>? = null Loading @@ -32,7 +32,6 @@ object ParentalControlAuthenticator { authResultDeferred?.complete(false) } // Await the Authenticate from Parental Control return authResultDeferred?.await() == true } Loading