You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cordova.apache.org by bo...@apache.org on 2013/01/30 20:32:12 UTC

android commit: CB-2296: Adding deprecation notices for removing the setProperties methods

Updated Branches:
  refs/heads/master d5e3be9a5 -> 3610bbf21


CB-2296: Adding deprecation notices for removing the setProperties methods


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

Branch: refs/heads/master
Commit: 3610bbf21bb69830189b836c80450f10d08f4204
Parents: d5e3be9
Author: Joe Bowser <bo...@apache.org>
Authored: Wed Jan 30 11:31:59 2013 -0800
Committer: Joe Bowser <bo...@apache.org>
Committed: Wed Jan 30 11:31:59 2013 -0800

----------------------------------------------------------------------
 framework/src/org/apache/cordova/DroidGap.java |    4 ++++
 1 files changed, 4 insertions(+), 0 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/cordova-android/blob/3610bbf2/framework/src/org/apache/cordova/DroidGap.java
----------------------------------------------------------------------
diff --git a/framework/src/org/apache/cordova/DroidGap.java b/framework/src/org/apache/cordova/DroidGap.java
index 69a7650..ee21eb8 100755
--- a/framework/src/org/apache/cordova/DroidGap.java
+++ b/framework/src/org/apache/cordova/DroidGap.java
@@ -591,6 +591,7 @@ public class DroidGap extends Activity implements CordovaInterface {
      * @param value
      */
     public void setBooleanProperty(String name, boolean value) {
+        Log.d(TAG, "Setting boolean properties in DroidGap will be deprecated in 3.0 on July 2013, please use config.xml");
         this.getIntent().putExtra(name, value);
     }
 
@@ -601,6 +602,7 @@ public class DroidGap extends Activity implements CordovaInterface {
      * @param value
      */
     public void setIntegerProperty(String name, int value) {
+        Log.d(TAG, "Setting integer properties in DroidGap will be deprecated in 3.1 on August 2013, please use config.xml");
         this.getIntent().putExtra(name, value);
     }
 
@@ -611,6 +613,7 @@ public class DroidGap extends Activity implements CordovaInterface {
      * @param value
      */
     public void setStringProperty(String name, String value) {
+        Log.d(TAG, "Setting string properties in DroidGap will be deprecated in 3.0 on July 2013, please use config.xml");
         this.getIntent().putExtra(name, value);
     }
 
@@ -621,6 +624,7 @@ public class DroidGap extends Activity implements CordovaInterface {
      * @param value
      */
     public void setDoubleProperty(String name, double value) {
+        Log.d(TAG, "Setting double properties in DroidGap will be deprecated in 3.0 on July 2013, please use config.xml");
         this.getIntent().putExtra(name, value);
     }