List of usage examples for android.webkit WebViewDatabase hasFormData
@Deprecated public abstract boolean hasFormData();
From source file:Main.java
public static void clearFormData(Context context) { WebViewDatabase db = WebViewDatabase.getInstance(context); if (db.hasFormData()) { db.clearFormData();/*w w w. ja v a 2 s.co m*/ } if (db.hasHttpAuthUsernamePassword()) { db.clearHttpAuthUsernamePassword(); } if (db.hasUsernamePassword()) { db.clearUsernamePassword(); } }