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

Commit fc3d8035 authored by TreeHugger Robot's avatar TreeHugger Robot Committed by Android (Google) Code Review
Browse files

Merge "Fix static wallpaper component" into udc-dev

parents 0b42fdfc f8fe56ec
Loading
Loading
Loading
Loading
+5 −1
Original line number Diff line number Diff line
@@ -219,9 +219,13 @@ class TaskTransitionTest(flicker: FlickerTest) : BaseTest(flicker) {
            val resourceId =
                Resources.getSystem()
                    .getIdentifier("image_wallpaper_component", "string", "android")
            return ComponentNameMatcher.unflattenFromString(
            // frameworks/base/core/res/res/values/config.xml returns package plus class name,
            // but wallpaper layer has only class name
            val rawComponentMatcher = ComponentNameMatcher.unflattenFromString(
                instrumentation.targetContext.resources.getString(resourceId)
            )

            return ComponentNameMatcher(rawComponentMatcher.className)
        }

        @Parameterized.Parameters(name = "{0}")