We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5a91c8a commit 39fe5d4Copy full SHA for 39fe5d4
MacrobenchmarkSample/macrobenchmark/src/main/kotlin/com/example/macrobenchmark/baselineprofile/Common.kt
@@ -27,7 +27,7 @@ const val TARGET_PACKAGE = "com.example.macrobenchmark.target"
27
* including the package name of the app under test.
28
*/
29
fun UiDevice.clearData(scope: MacrobenchmarkScope) {
30
- val command = "pm clear $scope.packageName"
+ val command = "pm clear ${scope.packageName}"
31
val output = executeShellCommand(command)
32
// Assert.assertEquals("Success", output)
33
}
0 commit comments