From 92be0033a88f032f5232b55aecdd3161071c5831 Mon Sep 17 00:00:00 2001 From: Andrew Grieve Date: Mon, 14 Jul 2014 14:28:27 -0400 Subject: [PATCH] Undeprecate some just-deprecated symbols in PluginManager. Forgot about custom engines again :( --- framework/src/org/apache/cordova/PluginManager.java | 7 ------- 1 file changed, 7 deletions(-) diff --git a/framework/src/org/apache/cordova/PluginManager.java b/framework/src/org/apache/cordova/PluginManager.java index 689c3c86..9ae5ce64 100755 --- a/framework/src/org/apache/cordova/PluginManager.java +++ b/framework/src/org/apache/cordova/PluginManager.java @@ -84,7 +84,6 @@ public class PluginManager { /** * Init when loading a new HTML page into webview. */ - @Deprecated // Should not be exposed as public. public void init() { LOG.d(TAG, "init()"); this.onPause(false); @@ -231,7 +230,6 @@ public class PluginManager { * * @param multitasking Flag indicating if multitasking is turned on for app */ - @Deprecated // Should not be public public void onPause(boolean multitasking) { for (CordovaPlugin plugin : this.pluginMap.values()) { plugin.onPause(multitasking); @@ -243,7 +241,6 @@ public class PluginManager { * * @param multitasking Flag indicating if multitasking is turned on for app */ - @Deprecated // Should not be public public void onResume(boolean multitasking) { for (CordovaPlugin plugin : this.pluginMap.values()) { plugin.onResume(multitasking); @@ -253,7 +250,6 @@ public class PluginManager { /** * The final call you receive before your activity is destroyed. */ - @Deprecated // Should not be public public void onDestroy() { for (CordovaPlugin plugin : this.pluginMap.values()) { plugin.onDestroy(); @@ -284,7 +280,6 @@ public class PluginManager { /** * Called when the activity receives a new intent. */ - @Deprecated // Should not be public public void onNewIntent(Intent intent) { for (CordovaPlugin plugin : this.pluginMap.values()) { plugin.onNewIntent(intent); @@ -297,7 +292,6 @@ public class PluginManager { * @param url The URL that is being changed to. * @return Return false to allow the URL to load, return true to prevent the URL from loading. */ - @Deprecated // Should not be public public boolean onOverrideUrlLoading(String url) { // Deprecated way to intercept URLs. (process tags). // Instead, plugins should not include and instead ensure @@ -324,7 +318,6 @@ public class PluginManager { /** * Called when the app navigates or refreshes. */ - @Deprecated // Should not be public public void onReset() { for (CordovaPlugin plugin : this.pluginMap.values()) { plugin.onReset();