mirror of
https://github.com/apache/cordova-android.git
synced 2025-01-31 09:02:50 +08:00
Fix exception when defaultValue=null.
This commit is contained in:
parent
586d3ecd60
commit
5649fbac20
@ -218,7 +218,7 @@ public class CordovaChromeClient extends WebChromeClient {
|
||||
}
|
||||
|
||||
// Do NO-OP so older code doesn't display dialog
|
||||
else if (defaultValue.equals("gap_init:")) {
|
||||
else if (defaultValue != null && defaultValue.equals("gap_init:")) {
|
||||
result.confirm("OK");
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user