mirror of
https://github.com/apache/cordova-android.git
synced 2025-01-31 17:32:51 +08:00
parent
f0c9814c04
commit
e42fedc820
@ -127,7 +127,7 @@ public class CordovaBridge {
|
||||
}
|
||||
|
||||
public String promptOnJsPrompt(String origin, String message, String defaultValue) {
|
||||
if (defaultValue != null && defaultValue.length() > 3 && defaultValue.startsWith("gap:")) {
|
||||
if (defaultValue != null && defaultValue.startsWith("gap:")) {
|
||||
JSONArray array;
|
||||
try {
|
||||
array = new JSONArray(defaultValue.substring(4));
|
||||
|
Loading…
Reference in New Issue
Block a user