Index: components/resource_provider/android/android_hooks.cc |
diff --git a/components/resource_provider/android/android_hooks.cc b/components/resource_provider/android/android_hooks.cc |
index b312e1af991bc0a4a043cd909a26bfb17fdf761f..4cf2687488368c9890bfad047d491e7987e2db8d 100644 |
--- a/components/resource_provider/android/android_hooks.cc |
+++ b/components/resource_provider/android/android_hooks.cc |
@@ -46,6 +46,7 @@ |
extern "C" JNI_EXPORT void InitApplicationContext( |
const base::android::JavaRef<jobject>& context) { |
JNIEnv* env = base::android::AttachCurrentThread(); |
+ base::android::InitApplicationContext(env, context); |
resource_provider::Java_Main_init( |
env, base::android::GetApplicationContext()); |
} |