mirror of
https://github.com/apache/cordova-android.git
synced 2025-01-31 17:32:51 +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
|
// 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");
|
result.confirm("OK");
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user