From d8271142cabd33be0ab8e28d617114dd9a99e6d8 Mon Sep 17 00:00:00 2001 From: Jordan Demeulenaere Date: Thu, 8 Dec 2022 10:07:07 +0100 Subject: [PATCH] Make ViewScreenshotTestRule the same than on tm-qpr-dev (1/2) Bug: 261817359 Test: Manual Change-Id: I99389c1be169f63908d75cf47fa770e55c6b9ae0 --- .../systemui/testing/screenshot/ViewScreenshotTestRule.kt | 2 -- 1 file changed, 2 deletions(-) diff --git a/packages/SystemUI/screenshot/src/com/android/systemui/testing/screenshot/ViewScreenshotTestRule.kt b/packages/SystemUI/screenshot/src/com/android/systemui/testing/screenshot/ViewScreenshotTestRule.kt index 6d0cc5ee4febd..738b37c9eea46 100644 --- a/packages/SystemUI/screenshot/src/com/android/systemui/testing/screenshot/ViewScreenshotTestRule.kt +++ b/packages/SystemUI/screenshot/src/com/android/systemui/testing/screenshot/ViewScreenshotTestRule.kt @@ -34,7 +34,6 @@ import org.junit.runners.model.Statement import platform.test.screenshot.DeviceEmulationRule import platform.test.screenshot.DeviceEmulationSpec import platform.test.screenshot.MaterialYouColorsRule -import platform.test.screenshot.PathConfig import platform.test.screenshot.ScreenshotTestRule import platform.test.screenshot.getEmulatedDevicePathConfig import platform.test.screenshot.matchers.BitmapMatcher @@ -43,7 +42,6 @@ import platform.test.screenshot.matchers.BitmapMatcher class ViewScreenshotTestRule( emulationSpec: DeviceEmulationSpec, private val matcher: BitmapMatcher = UnitTestBitmapMatcher, - pathConfig: PathConfig = getEmulatedDevicePathConfig(emulationSpec), assetsPathRelativeToBuildRoot: String ) : TestRule { private val colorsRule = MaterialYouColorsRule()