mirror of
https://github.com/go-i2p/gomobile-java.git
synced 2025-07-14 04:44:47 -04:00
cmd/gomobile: expect GoNativeActivity in external manifests
gomobile expects GoNativeActivity, otherwise current_ctx_clazz stays null. Fixed cmd/gomobile/manifest.go to expect GoNativeActivity, and fixed the network example app. Change-Id: Idad6f9bec2fcbc876fbd6013009582868ad3e133 Reviewed-on: https://go-review.googlesource.com/12374 Reviewed-by: David Crawshaw <crawshaw@golang.org>
This commit is contained in:
@ -18,9 +18,9 @@ license that can be found in the LICENSE file.
|
||||
http://developer.android.com/guide/topics/manifest/manifest-intro.html#perms -->
|
||||
<uses-permission android:name="android.permission.INTERNET" />
|
||||
|
||||
<application android:label="network" android:hasCode="false" android:debuggable="true">
|
||||
<application android:label="network" android:debuggable="true">
|
||||
|
||||
<activity android:name="android.app.NativeActivity"
|
||||
<activity android:name="org.golang.app.GoNativeActivity"
|
||||
android:label="network"
|
||||
android:configChanges="orientation|keyboardHidden">
|
||||
<meta-data android:name="android.app.lib_name" android:value="network" />
|
||||
|
Reference in New Issue
Block a user