Also return vdex file from DexFile.getDexFileOutputPath
Test: device boots
Bug: 33168521
Change-Id: Iefaa986046a31cff6572bda5f9ff227566e45bc6
diff --git a/dalvik/src/main/java/dalvik/system/DexFile.java b/dalvik/src/main/java/dalvik/system/DexFile.java
index bbf0d99..3cd10e3 100644
--- a/dalvik/src/main/java/dalvik/system/DexFile.java
+++ b/dalvik/src/main/java/dalvik/system/DexFile.java
@@ -496,11 +496,11 @@
throws FileNotFoundException;
/**
- * Returns the full file path of the optimized dex file {@code fileName}. The returned string
- * is the full file name including path of optimized dex file, if it exists.
+ * Returns the paths of the optimized files generated for {@code fileName}.
+ * If no optimized code exists the method returns null.
* @hide
*/
- public static native String getDexFileOutputPath(String fileName, String instructionSet)
+ public static native String[] getDexFileOutputPaths(String fileName, String instructionSet)
throws FileNotFoundException;
/**