Index: web_apks/minting_example/src/org/chromium/minting/DexLoader.java |
diff --git a/web_apks/minting_example/src/org/chromium/minting/DexLoader.java b/web_apks/minting_example/src/org/chromium/minting/DexLoader.java |
index 3628e2866bdf3f0ba307e31a872c1ea6bc305e0a..2a7ddb6f73f4713e2f048b931409917c268567b6 100644 |
--- a/web_apks/minting_example/src/org/chromium/minting/DexLoader.java |
+++ b/web_apks/minting_example/src/org/chromium/minting/DexLoader.java |
@@ -22,21 +22,6 @@ public class DexLoader { |
private static final String TAG = "cr.DexLoader"; |
/** |
- * Returns context for {@link remotePackageName} which is compatible with {@link #load()} |
- * @param context A context. |
- * @param remotePackageName The package name of the desired context. |
- * @return The remote context. Returns null on an error. |
- */ |
- public static Context getRemoteContext(Context context, String remotePackageName) { |
- try { |
- return context.getApplicationContext().createPackageContext(remotePackageName, |
- Context.CONTEXT_IGNORE_SECURITY | Context.CONTEXT_INCLUDE_CODE); |
- } catch (NameNotFoundException e) { |
- return null; |
- } |
- } |
- |
- /** |
* Creates ClassLoader for .dex file in {@link remoteContext}'s APK. |
* @param remoteContext The context with the APK with the .dex file. |
* @param dexName The name of the .dex file in the APK. |