Repository: cordova-android Updated Branches: refs/heads/pluggable_webview df05f3a3c -> 105ccc81a
Removing the deprecated setAttribute methods to clean up the codebase Project: http://git-wip-us.apache.org/repos/asf/cordova-android/repo Commit: http://git-wip-us.apache.org/repos/asf/cordova-android/commit/90037dc6 Tree: http://git-wip-us.apache.org/repos/asf/cordova-android/tree/90037dc6 Diff: http://git-wip-us.apache.org/repos/asf/cordova-android/diff/90037dc6 Branch: refs/heads/pluggable_webview Commit: 90037dc6cd672f68baac902683d64fd8471c4181 Parents: a2f8c9c Author: Joe Bowser <[email protected]> Authored: Tue Mar 4 15:02:30 2014 -0800 Committer: Joe Bowser <[email protected]> Committed: Tue Mar 4 15:02:30 2014 -0800 ---------------------------------------------------------------------- .../src/org/apache/cordova/CordovaActivity.java | 60 -------------------- 1 file changed, 60 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/cordova-android/blob/90037dc6/framework/src/org/apache/cordova/CordovaActivity.java ---------------------------------------------------------------------- diff --git a/framework/src/org/apache/cordova/CordovaActivity.java b/framework/src/org/apache/cordova/CordovaActivity.java index 9f8b020..7d81825 100755 --- a/framework/src/org/apache/cordova/CordovaActivity.java +++ b/framework/src/org/apache/cordova/CordovaActivity.java @@ -605,66 +605,6 @@ public class CordovaActivity extends Activity implements CordovaInterface { return p.doubleValue(); } - /** - * Set boolean property on activity. - * This method has been deprecated in 3.0 and will be removed at a future - * time. Please use config.xml instead. - * - * @param name - * @param value - * @deprecated - */ - @Deprecated - public void setBooleanProperty(String name, boolean value) { - Log.d(TAG, "Setting boolean properties in CordovaActivity will be deprecated in 3.0 on July 2013, please use config.xml"); - this.getIntent().putExtra(name.toLowerCase(), value); - } - - /** - * Set int property on activity. - * This method has been deprecated in 3.0 and will be removed at a future - * time. Please use config.xml instead. - * - * @param name - * @param value - * @deprecated - */ - @Deprecated - public void setIntegerProperty(String name, int value) { - Log.d(TAG, "Setting integer properties in CordovaActivity will be deprecated in 3.0 on July 2013, please use config.xml"); - this.getIntent().putExtra(name.toLowerCase(), value); - } - - /** - * Set string property on activity. - * This method has been deprecated in 3.0 and will be removed at a future - * time. Please use config.xml instead. - * - * @param name - * @param value - * @deprecated - */ - @Deprecated - public void setStringProperty(String name, String value) { - Log.d(TAG, "Setting string properties in CordovaActivity will be deprecated in 3.0 on July 2013, please use config.xml"); - this.getIntent().putExtra(name.toLowerCase(), value); - } - - /** - * Set double property on activity. - * This method has been deprecated in 3.0 and will be removed at a future - * time. Please use config.xml instead. - * - * @param name - * @param value - * @deprecated - */ - @Deprecated - public void setDoubleProperty(String name, double value) { - Log.d(TAG, "Setting double properties in CordovaActivity will be deprecated in 3.0 on July 2013, please use config.xml"); - this.getIntent().putExtra(name.toLowerCase(), value); - } - @Override /** * Called when the system is about to start resuming a previous activity.
