From 51f536388e331fbe8348f4aac64d8c991d90acc1 Mon Sep 17 00:00:00 2001 From: Kristian Monsen Date: Fri, 30 Nov 2012 15:53:08 -0800 Subject: [PATCH] Update Geolocation.getInstance() comment. This is to reflect the old and new behavior that a WebView needs to be created first. Change-Id: I6128573265444327334d94cc8f250e2cf100eed1 --- core/java/android/webkit/GeolocationPermissions.java | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/core/java/android/webkit/GeolocationPermissions.java b/core/java/android/webkit/GeolocationPermissions.java index 9c0f7541fbcfc..bc3d0351727fc 100644 --- a/core/java/android/webkit/GeolocationPermissions.java +++ b/core/java/android/webkit/GeolocationPermissions.java @@ -61,7 +61,8 @@ public class GeolocationPermissions { }; /** - * Gets the singleton instance of this class. + * Gets the singleton instance of this class. This method cannot be + * called before the application instantiates a {@link WebView} instance. * * @return the singleton {@link GeolocationPermissions} instance */