Chromium Code Reviews| 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) { |
|
pkotwicz
2016/04/15 15:51:31
Drive By: You'll need to update DexLoaderTest.java
Yaron
2016/04/15 15:58:07
interesting, i tried building chrome_test_apk and
Yaron
2016/04/15 16:12:00
oh, it was content_shell_test_apk :)
|
| - 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. |