mirror of
https://github.com/netbirdio/gomobile-tvos-fork.git
synced 2026-05-22 18:43:29 -07:00
example/ivy/android: fix a typo that caused a program bug
Additional '=' was added after '&', but 0 != (a &= b) is still valid in java Change-Id: I9c7b524941e0553c9fc5095adc5fc7819c4823b0 Reviewed-on: https://go-review.googlesource.com/23950 Reviewed-by: David Crawshaw <crawshaw@golang.org>
This commit is contained in:
committed by
Hyang-Ah Hana Kim
parent
b8e0f58304
commit
40167cfb81
@@ -85,7 +85,7 @@ public class MainActivity extends AppCompatActivity {
|
||||
|
||||
/* For webview debugging - visit chrome://inspect/#devices */
|
||||
if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.KITKAT) {
|
||||
if (0 != (getApplicationInfo().flags &= ApplicationInfo.FLAG_DEBUGGABLE))
|
||||
if (0 != (getApplicationInfo().flags & ApplicationInfo.FLAG_DEBUGGABLE))
|
||||
{ WebView.setWebContentsDebuggingEnabled(true); }
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user