mirror of
https://github.com/apache/cordova-android.git
synced 2025-01-31 17:32:51 +08:00
Fixing geo listner callback fail to send 3 args instead of 4.
This commit is contained in:
parent
2a9bc2ddf8
commit
f16d9b01b7
@ -86,7 +86,7 @@ public class GeoListener {
|
|||||||
* @param msg The error message
|
* @param msg The error message
|
||||||
*/
|
*/
|
||||||
void fail(int code, String msg) {
|
void fail(int code, String msg) {
|
||||||
this.broker.sendJavascript("navigator._geo.fail('" + this.id + "', " + ", " + code + ", '" + msg + "');");
|
this.broker.sendJavascript("navigator._geo.fail('" + this.id + "', '" + code + "', '" + msg + "');");
|
||||||
this.stop();
|
this.stop();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user