Permalink
Browse files

CB-1850 change: Model is getModel, name is getProduct

  • Loading branch information...
infil00p committed Dec 5, 2012
1 parent 9a9d36e commit 182843edf673b8052b34aaf64a3862591bd9eedc
Showing with 1 addition and 1 deletion.
  1. +1 −1 framework/src/org/apache/cordova/Device.java
@@ -80,7 +80,7 @@ public boolean execute(String action, JSONArray args, CallbackContext callbackCo
r.put("platform", Device.platform);
r.put("name", this.getProductName());
r.put("cordova", Device.cordovaVersion);
- r.put("model", this.getProductName());
+ r.put("model", this.getModel());
callbackContext.success(r);
}
else {

0 comments on commit 182843e

Please sign in to comment.