mirror of
https://github.com/netbirdio/gomobile-tvos-fork.git
synced 2026-05-22 18:43:29 -07:00
bind/java: suppress compiler warning
non-varargs call of varargs method with inexact argument type for last parameter Change-Id: I7623951c365b8cf899a17ee784c8d4f3b4bdb198 Reviewed-on: https://go-review.googlesource.com/12528 Reviewed-by: David Crawshaw <crawshaw@golang.org>
This commit is contained in:
committed by
Hyang-Ah Hana Kim
parent
de4ba64cf5
commit
103c0611a8
+1
-1
@@ -28,7 +28,7 @@ public class Seq {
|
||||
|
||||
try {
|
||||
// TODO(hyangah): check proguard rule.
|
||||
Application appl = (Application)Class.forName("android.app.AppGlobals").getMethod("getInitialApplication").invoke(null, (Object[]) null);
|
||||
Application appl = (Application)Class.forName("android.app.AppGlobals").getMethod("getInitialApplication").invoke(null);
|
||||
Context ctx = appl.getApplicationContext();
|
||||
setContext(ctx);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user