commit | 4003195ff50e4cbbf6ccfbc0f0d9bfd27b960b85 | [log] [tgz] |
---|---|---|
author | android-build-team Robot <android-build-team-robot@google.com> | Sat Sep 05 18:32:12 2020 +0000 |
committer | android-build-team Robot <android-build-team-robot@google.com> | Sat Sep 05 18:32:12 2020 +0000 |
tree | d2223a41f7ab131a4a14e8f41f5dfeb06dc781c5 | |
parent | b117061b5a7c12aa3cbedd5e14b21b2e72e2f365 [diff] | |
parent | 042c192d1a62c81566dc03362352f7ce56d22d53 [diff] |
Merge cherrypicks of [12526842] into studio-4.1-release Change-Id: Iaff18dac0847676ab712261ee5f71588d55fc7e4
diff --git a/test-recorder/src/com/google/gct/testrecorder/ui/TestRecorderScreenshotTask.java b/test-recorder/src/com/google/gct/testrecorder/ui/TestRecorderScreenshotTask.java index a7b4c2d..39744ef 100644 --- a/test-recorder/src/com/google/gct/testrecorder/ui/TestRecorderScreenshotTask.java +++ b/test-recorder/src/com/google/gct/testrecorder/ui/TestRecorderScreenshotTask.java
@@ -73,7 +73,7 @@ return; } indicator.setText("Dumping UI hierarchy on the device..."); - String uiHierarchyRemoteContainerPath = String.format("/sdcard/Android/data/%s/files/testrecorder", myPackageName); + String uiHierarchyRemoteContainerPath = String.format("/sdcard/%s/files/testrecorder", myPackageName); String uiHierarchyRemotePath = uiHierarchyRemoteContainerPath + "/ui_hierarchy.xml"; try { myDevice.executeShellCommand("mkdir -p " + uiHierarchyRemoteContainerPath, new CollectingOutputReceiver(), 3, TimeUnit.SECONDS);