Merge "Fix the host golden path asset dir config" into tm-qpr-dev am: 40d3988a65

Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/19953606

Change-Id: I99ac33b6ed8205d6047bdd64a9ff8e4c8fca5a81
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
This commit is contained in:
Jay Aliomer
2022-09-15 16:53:27 +00:00
committed by Automerger Merge Worker

View File

@@ -23,9 +23,11 @@ import platform.test.screenshot.PathConfig
/** A [GoldenImagePathManager] that should be used for all SystemUI screenshot tests. */
class SystemUIGoldenImagePathManager(
pathConfig: PathConfig,
override val assetsPathRelativeToRepo: String = "tests/screenshot/assets"
) :
GoldenImagePathManager(
appContext = InstrumentationRegistry.getInstrumentation().context,
assetsPathRelativeToRepo = assetsPathRelativeToRepo,
deviceLocalPath =
InstrumentationRegistry.getInstrumentation()
.targetContext