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

Commit b1ad3fa0 authored by Milton Wu's avatar Milton Wu
Browse files

[BiometricsV2] Fix end-to-end enroll test fail

Fix end-to-end enrollment test fail because of using incorrect observer
type to observe finish page data

Bug: 295140687
Test: atest biometrics-enrollment-test
Change-Id: I9ca8d1c6383c2ecf3f94dc1e5cbb878e4328a900
parent 7dd94771
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -140,7 +140,7 @@ open class FingerprintEnrollmentActivity : FragmentActivity() {
        action?.let { onEnrollingAction(it) }
    }

    private val finishActionObserver = Observer<Int> { action ->
    private val finishActionObserver = Observer<Int?> { action ->
        if (DEBUG) {
            Log.d(TAG, "finishActionObserver($action)")
        }