am a154856e: Merge "Fix MediaStore_Video_MediaTest Again" into honeycomb

* commit 'a154856e0bc5ddeb8070737bb2f7464bbb79d3f0':
  Fix MediaStore_Video_MediaTest Again
diff --git a/tests/src/android/provider/cts/FileCopyHelper.java b/tests/src/android/provider/cts/FileCopyHelper.java
index 011f551..4ee93ac 100644
--- a/tests/src/android/provider/cts/FileCopyHelper.java
+++ b/tests/src/android/provider/cts/FileCopyHelper.java
@@ -99,6 +99,10 @@
     }
 
     public static void createFile(File file, int numBytes) throws IOException {
+        File parentFile = file.getParentFile();
+        if (parentFile != null) {
+            parentFile.mkdirs();
+        }
         byte[] buffer = new byte[numBytes];
         FileOutputStream output = new FileOutputStream(file);
         try {