diff --git a/tests/screenshot/src/com/android/settings/tests/screenshot/biometrics/fingerprint/Injector.kt b/tests/screenshot/src/com/android/settings/tests/screenshot/biometrics/fingerprint/Injector.kt index 3cd2002d396..9d97fbf8f96 100644 --- a/tests/screenshot/src/com/android/settings/tests/screenshot/biometrics/fingerprint/Injector.kt +++ b/tests/screenshot/src/com/android/settings/tests/screenshot/biometrics/fingerprint/Injector.kt @@ -50,7 +50,7 @@ import kotlinx.coroutines.flow.update import platform.test.screenshot.DeviceEmulationSpec import platform.test.screenshot.DisplaySpec import platform.test.screenshot.FragmentScreenshotTestRule -import platform.test.screenshot.GoldenImagePathManager +import platform.test.screenshot.GoldenPathManager import platform.test.screenshot.matchers.PixelPerfectMatcher class Injector(step: FingerprintNavigationStep.UiStep) { @@ -154,7 +154,7 @@ class Injector(step: FingerprintNavigationStep.UiStep) { fun BiometricFragmentScreenShotRule() = FragmentScreenshotTestRule( DeviceEmulationSpec.forDisplays(Phone).first(), - GoldenImagePathManager( + GoldenPathManager( InstrumentationRegistry.getInstrumentation().context, InstrumentationRegistry.getInstrumentation().targetContext.filesDir.absolutePath + screenshotPath,