Repository: cordova-android Updated Branches: refs/heads/pluggable_webview [created] df05f3a3c
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/25c8b2fa Tree: http://git-wip-us.apache.org/repos/asf/cordova-android/tree/25c8b2fa Diff: http://git-wip-us.apache.org/repos/asf/cordova-android/diff/25c8b2fa Branch: refs/heads/pluggable_webview Commit: 25c8b2fabb3fbc348efd15d5450aa862b68ec182 Parents: e6adbb0 Author: Joe Bowser <[email protected]> Authored: Tue Mar 4 15:02:30 2014 -0800 Committer: Ian Clelland <[email protected]> Committed: Tue Apr 29 22:44:05 2014 -0400 ---------------------------------------------------------------------- .../src/org/apache/cordova/CordovaActivity.java | 60 -------------------- 1 file changed, 60 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/cordova-android/blob/25c8b2fa/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.
