CB-2522: We used buttons in older versions to send the post, not the submit event. Disabled form saving

This commit is contained in:
Joe Bowser 2013-02-21 16:48:57 -08:00
parent 17b668a115
commit 77a8568b28

View File

@ -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)