Merge "Fix legacy benchmark reporting in ui benchmarks" into androidx-master-dev
diff --git a/ui/integration-tests/benchmark/src/androidTest/AndroidManifest.xml b/ui/integration-tests/benchmark/src/androidTest/AndroidManifest.xml
index 1496a9d..3369493 100644
--- a/ui/integration-tests/benchmark/src/androidTest/AndroidManifest.xml
+++ b/ui/integration-tests/benchmark/src/androidTest/AndroidManifest.xml
@@ -14,13 +14,16 @@
   ~ See the License for the specific language governing permissions and
   ~ limitations under the License.
   -->
-<manifest
-    xmlns:android="http://schemas.android.com/apk/res/android"
+<manifest xmlns:android="http://schemas.android.com/apk/res/android"
     xmlns:tools="http://schemas.android.com/tools"
     package="androidx.ui.benchmark.test">
 
-    <!-- Important: disable debuggable for accurate performance results -->
+    <!--
+      ~ Important: disable debuggable for accurate performance results
+      ~ requestLegacyExternalStorage to enable legacy JSON reporting when targeting Q
+      -->
     <application
+        android:requestLegacyExternalStorage="true"
         android:debuggable="false"
         tools:replace="android:debuggable">
         <activity android:name="android.app.Activity"/>
diff --git a/ui/ui-layout/src/androidTest/AndroidManifest.xml b/ui/ui-layout/src/androidTest/AndroidManifest.xml
index 463edf8..b1e8fb7 100644
--- a/ui/ui-layout/src/androidTest/AndroidManifest.xml
+++ b/ui/ui-layout/src/androidTest/AndroidManifest.xml
@@ -17,7 +17,12 @@
     xmlns:tools="http://schemas.android.com/tools"
     package="androidx.ui.layout">
 
+    <!--
+      ~ Important: disable debuggable for accurate performance results
+      ~ requestLegacyExternalStorage to enable legacy JSON reporting when targeting Q
+      -->
     <application
+        android:requestLegacyExternalStorage="true"
         android:debuggable="false"
         tools:ignore="HardcodedDebugMode"
         tools:replace="android:debuggable">