am 6f165bfd: am 2ea1e58b: am 54f5302d: am f1fbbde2: am 9fe8a6c7: Fix CtsUiAutomatorTest for landscape devices by running test in "landscape" layout.
* commit '6f165bfd4371b7008f1dbd39639a6c81bd24b2ce':
Fix CtsUiAutomatorTest for landscape devices by running test in "landscape" layout.
diff --git a/tests/tests/provider/src/android/provider/cts/MediaStore_Images_MediaTest.java b/tests/tests/provider/src/android/provider/cts/MediaStore_Images_MediaTest.java
index 3f28a34..e68286f 100644
--- a/tests/tests/provider/src/android/provider/cts/MediaStore_Images_MediaTest.java
+++ b/tests/tests/provider/src/android/provider/cts/MediaStore_Images_MediaTest.java
@@ -78,13 +78,6 @@
mHelper = new FileCopyHelper(mContext);
mRowsAdded = new ArrayList<Uri>();
-
- String campath = Environment.getExternalStorageDirectory() + File.separator +
- Environment.DIRECTORY_DCIM + File.separator + "Camera";
- File camfile = new File(campath);
- if (!camfile.exists()) {
- assertTrue("failed to create " + campath, camfile.mkdir());
- }
}
public void testInsertImageWithImagePath() throws Exception {
diff --git a/tests/tests/provider/src/android/provider/cts/MediaStore_Images_ThumbnailsTest.java b/tests/tests/provider/src/android/provider/cts/MediaStore_Images_ThumbnailsTest.java
index 03adad7..e8a13a9 100644
--- a/tests/tests/provider/src/android/provider/cts/MediaStore_Images_ThumbnailsTest.java
+++ b/tests/tests/provider/src/android/provider/cts/MediaStore_Images_ThumbnailsTest.java
@@ -68,13 +68,6 @@
mHelper = new FileCopyHelper(mContext);
mRowsAdded = new ArrayList<Uri>();
-
- String campath = Environment.getExternalStorageDirectory() + File.separator +
- Environment.DIRECTORY_DCIM + File.separator + "Camera";
- File camfile = new File(campath);
- if (!camfile.exists()) {
- assertTrue("failed to create " + campath, camfile.mkdir());
- }
}
public void testQueryInternalThumbnails() throws Exception {