mirror of
https://github.com/apache/cordova-android.git
synced 2025-02-01 02:12:58 +08:00
Commenting out this past code, turns out this breaks more things than it fixes: CB-1101
This commit is contained in:
parent
79feb6d5d2
commit
2ec0b601fa
@ -194,9 +194,10 @@ public class CordovaWebView extends WebView {
|
|||||||
|
|
||||||
//Jellybean rightfully tried to lock this down. Too bad they didn't give us a whitelist
|
//Jellybean rightfully tried to lock this down. Too bad they didn't give us a whitelist
|
||||||
//while we do this
|
//while we do this
|
||||||
|
/*
|
||||||
if(android.os.Build.VERSION.SDK_INT > android.os.Build.VERSION_CODES.ICE_CREAM_SANDWICH_MR1)
|
if(android.os.Build.VERSION.SDK_INT > android.os.Build.VERSION_CODES.ICE_CREAM_SANDWICH_MR1)
|
||||||
settings.setAllowUniversalAccessFromFileURLs(true);
|
settings.setAllowUniversalAccessFromFileURLs(true);
|
||||||
|
*/
|
||||||
// Enable database
|
// Enable database
|
||||||
settings.setDatabaseEnabled(true);
|
settings.setDatabaseEnabled(true);
|
||||||
String databasePath = this.cordova.getActivity().getApplicationContext().getDir("database", Context.MODE_PRIVATE).getPath();
|
String databasePath = this.cordova.getActivity().getApplicationContext().getDir("database", Context.MODE_PRIVATE).getPath();
|
||||||
|
Loading…
Reference in New Issue
Block a user