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

Commit 76f76c24 authored by Grace Cheng's avatar Grace Cheng
Browse files

Fix PromptViewModelTest toString method

Update PromptViewModelTest toString method to specify sensor type

Flag: TEST_ONLY
Fixes: 349670826
Test: atest PromptViewModelTest
Change-Id: I6c1a814a00aae4d70288c97fa4fe16b3589f8267
parent 177af6b6
Loading
Loading
Loading
Loading
+4 −2
Original line number Diff line number Diff line
@@ -1799,8 +1799,10 @@ internal data class TestCase(
            when {
                fingerprint != null && face != null -> "coex"
                fingerprint != null && fingerprint.isAnySidefpsType -> "fingerprint only, sideFps"
                fingerprint != null && !fingerprint.isAnySidefpsType ->
                    "fingerprint only, non-sideFps"
                fingerprint != null && fingerprint.isAnyUdfpsType -> "fingerprint only, udfps"
                fingerprint != null &&
                    fingerprint.sensorType == FingerprintSensorProperties.TYPE_REAR ->
                    "fingerprint only, rearFps"
                face != null -> "face only"
                else -> "?"
            }