SecurityError: DOM Exception 18 - Android Web View

If you are getting DOM Exception 18 when trying to create a WebSQL Database or when using IndexedDBShim
make sure that you define ExceededDatabaseQuota

Make sure you override onExceededDatabaseQuota

public void onExceededDatabaseQuota(String url,
String databaseIdentifier,
long quota,
long estimatedDatabaseSize,
long totalQuota,
QuotaUpdater quotaUpdater) {

quotaUpdater.updateQuota(estimatedDatabaseSize * 2);