Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit dcddbdfa authored by Matheo Levallois's avatar Matheo Levallois
Browse files

refactor: remove useless comments in ParentalControlAuthenticator

parent 2ebf3f31
Loading
Loading
Loading
Loading
Loading
+2 −3
Original line number Diff line number Diff line
@@ -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
@@ -32,7 +32,6 @@ object ParentalControlAuthenticator {
            authResultDeferred?.complete(false)
        }

        // Await the Authenticate from Parental Control
        return authResultDeferred?.await() == true
    }