CB-1852: Android version of model implemented, too bad it's all code names and not human readable

This commit is contained in:
Joe Bowser 2012-11-19 13:26:22 -08:00
parent 28ef765913
commit 7657faa9c3

View File

@ -80,9 +80,7 @@ public class Device extends CordovaPlugin {
r.put("platform", Device.platform);
r.put("name", this.getProductName());
r.put("cordova", Device.cordovaVersion);
//JSONObject pg = new JSONObject();
//pg.put("version", Device.CordovaVersion);
//r.put("cordova", pg);
r.put("model", this.getProductName());
callbackContext.success(r);
}
else {