summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
author Steve Block <steveblock@google.com> 2009-08-26 18:16:58 +0100
committer Steve Block <steveblock@google.com> 2009-08-27 16:17:20 +0100
commit09b0ca1ceefde02b9ed50dc4dd12774ba569143f (patch)
tree396ac725812de473d85c63fa88ce9dd5c3813866
parent7537e3dc9106ad5a4ac06dace3e26ebb341dee8e (diff)
Sets default value of 'enableGeolocation' to true. This allows WebKit's DumpRenderTree to function correctly. Note that when Geolocation is used in the browser, this default value is overridden by the browser's default anyway.
-rw-r--r--core/java/android/webkit/WebSettings.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/core/java/android/webkit/WebSettings.java b/core/java/android/webkit/WebSettings.java
index 3793dd5f67fd..050a88644965 100644
--- a/core/java/android/webkit/WebSettings.java
+++ b/core/java/android/webkit/WebSettings.java
@@ -167,7 +167,7 @@ public class WebSettings {
private boolean mDatabaseEnabled = false;
private boolean mDomStorageEnabled = false;
private boolean mWorkersEnabled = false; // only affects V8.
- private boolean mGeolocationEnabled = false;
+ private boolean mGeolocationEnabled = true;
// HTML5 configuration parameters
private long mAppCacheMaxSize = Long.MAX_VALUE;
private String mAppCachePath = "";