Merge "Handle safe mode in PackageManager." into oc-dev
diff --git a/dalvik/src/main/java/dalvik/system/DexFile.java b/dalvik/src/main/java/dalvik/system/DexFile.java
index 6dd1ba6..bbf0d99 100644
--- a/dalvik/src/main/java/dalvik/system/DexFile.java
+++ b/dalvik/src/main/java/dalvik/system/DexFile.java
@@ -526,4 +526,13 @@
      */
     public native static String getNonProfileGuidedCompilerFilter(String filter);
 
+    /**
+     * Returns the version of the compiler filter that is suitable for safe mode.
+     * If the input is not a valid filter, or the filter is already suitable for
+     * safe mode, this returns the input.
+     *
+     * @hide
+     */
+    public native static String getSafeModeCompilerFilter(String filter);
+
 }