cordova-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bows...@apache.org
Subject android commit: CB-1850 change: Model is getModel, name is getProduct
Date Wed, 05 Dec 2012 22:59:13 GMT
Updated Branches:
  refs/heads/master 9a9d36e9d -> 182843edf


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


Project: http://git-wip-us.apache.org/repos/asf/cordova-android/repo
Commit: http://git-wip-us.apache.org/repos/asf/cordova-android/commit/182843ed
Tree: http://git-wip-us.apache.org/repos/asf/cordova-android/tree/182843ed
Diff: http://git-wip-us.apache.org/repos/asf/cordova-android/diff/182843ed

Branch: refs/heads/master
Commit: 182843edf673b8052b34aaf64a3862591bd9eedc
Parents: 9a9d36e
Author: Joe Bowser <bowserj@apache.org>
Authored: Wed Dec 5 14:58:47 2012 -0800
Committer: Joe Bowser <bowserj@apache.org>
Committed: Wed Dec 5 14:58:47 2012 -0800

----------------------------------------------------------------------
 framework/src/org/apache/cordova/Device.java |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/cordova-android/blob/182843ed/framework/src/org/apache/cordova/Device.java
----------------------------------------------------------------------
diff --git a/framework/src/org/apache/cordova/Device.java b/framework/src/org/apache/cordova/Device.java
index 8967bf4..9f8143a 100644
--- a/framework/src/org/apache/cordova/Device.java
+++ b/framework/src/org/apache/cordova/Device.java
@@ -80,7 +80,7 @@ public class Device extends CordovaPlugin {
             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 {


Mime
View raw message