From 77a8568b28b55c2c7be3f2fd7398c1a44d76a39b Mon Sep 17 00:00:00 2001 From: Joe Bowser Date: Thu, 21 Feb 2013 16:48:57 -0800 Subject: [PATCH] CB-2522: We used buttons in older versions to send the post, not the submit event. Disabled form saving --- framework/src/org/apache/cordova/CordovaWebView.java | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/framework/src/org/apache/cordova/CordovaWebView.java b/framework/src/org/apache/cordova/CordovaWebView.java index 166dcf4a..0489a8aa 100755 --- a/framework/src/org/apache/cordova/CordovaWebView.java +++ b/framework/src/org/apache/cordova/CordovaWebView.java @@ -254,6 +254,10 @@ public class CordovaWebView extends WebView { Log.d(TAG, "This should never happen: InvocationTargetException means this isn't Android anymore."); } + //We don't save any form data in the application + settings.setSaveFormData(false); + settings.setSavePassword(false); + // Jellybean rightfully tried to lock this down. Too bad they didn't give us a whitelist // while we do this if (android.os.Build.VERSION.SDK_INT > android.os.Build.VERSION_CODES.ICE_CREAM_SANDWICH_MR1)