mirror of
https://github.com/AeThex-Corporation/AeThex-OS.git
synced 2026-04-17 22:27:19 +00:00
chore(android): remove deprecated clearFormData call
This commit is contained in:
parent
0212e2ff5c
commit
36a7305cf6
1 changed files with 4 additions and 0 deletions
|
|
@ -71,6 +71,10 @@ public class MainActivity extends BridgeActivity {
|
||||||
webView.clearCache(true);
|
webView.clearCache(true);
|
||||||
webView.clearHistory();
|
webView.clearHistory();
|
||||||
|
|
||||||
|
// clearFormData is deprecated and does nothing on modern Android versions
|
||||||
|
// webView.clearFormData();
|
||||||
|
webView.clearSslPreferences();
|
||||||
|
|
||||||
// LOAD THE EXTERNAL SCRIPT TEST (FULL PATH)
|
// LOAD THE EXTERNAL SCRIPT TEST (FULL PATH)
|
||||||
webView.loadUrl("file:///android_asset/public/test_external_full.html");
|
webView.loadUrl("file:///android_asset/public/test_external_full.html");
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue