mirror of
https://github.com/apache/cordova-android.git
synced 2025-02-26 20:33:07 +08:00
CB-1850 change: Model is getModel, name is getProduct
This commit is contained in:
parent
9a9d36e9d9
commit
182843edf6
@ -80,7 +80,7 @@ public class Device extends CordovaPlugin {
|
|||||||
r.put("platform", Device.platform);
|
r.put("platform", Device.platform);
|
||||||
r.put("name", this.getProductName());
|
r.put("name", this.getProductName());
|
||||||
r.put("cordova", Device.cordovaVersion);
|
r.put("cordova", Device.cordovaVersion);
|
||||||
r.put("model", this.getProductName());
|
r.put("model", this.getModel());
|
||||||
callbackContext.success(r);
|
callbackContext.success(r);
|
||||||
}
|
}
|
||||||
else {
|
else {
|
||||||
|
Loading…
Reference in New Issue
Block a user