List of usage examples for android.webkit GeolocationPermissions clearAll
public void clearAll()
From source file:Main.java
/** * Clear Stored Location permissions. When the geolocation API is used in * the WebViewer, the end user is prompted on a per URL basis for whether * or not permission should be granted to access their location. This * function clears this information for all locations. * * As the permissions interface is not available on phones older then * Eclair, this function is a no-op on older phones. *//*from w w w .j a v a 2s. c o m*/ public static void clearWebViewGeoLoc() { GeolocationPermissions permissions = GeolocationPermissions.getInstance(); permissions.clearAll(); }