diff options
author | Steve Block <steveblock@google.com> | 2009-09-30 17:46:24 +0100 |
---|---|---|
committer | Steve Block <steveblock@google.com> | 2009-09-30 17:52:29 +0100 |
commit | 97557cf41b5f26d4d653a89e6551d8155fda18ed (patch) | |
tree | e060c897e303cb9b4f7c7e51bb677a24e9a5e170 /src | |
parent | ab1fc3ba06e40b64910406ba848de212401e6c34 (diff) | |
download | packages_apps_Browser-97557cf41b5f26d4d653a89e6551d8155fda18ed.zip packages_apps_Browser-97557cf41b5f26d4d653a89e6551d8155fda18ed.tar.gz packages_apps_Browser-97557cf41b5f26d4d653a89e6551d8155fda18ed.tar.bz2 |
Sets the intial state of the Geolocation permission prompt 'remember' checkbox to checked every time it is shown.
This fixes http://b/issue?id=2156885.
Change-Id: I0d0fa17ae6065335bbef3e439b44509711ab98dd
Diffstat (limited to 'src')
-rwxr-xr-x | src/com/android/browser/GeolocationPermissionsPrompt.java | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/com/android/browser/GeolocationPermissionsPrompt.java b/src/com/android/browser/GeolocationPermissionsPrompt.java index 61005d5..a21bc3e 100755 --- a/src/com/android/browser/GeolocationPermissionsPrompt.java +++ b/src/com/android/browser/GeolocationPermissionsPrompt.java @@ -64,6 +64,8 @@ public class GeolocationPermissionsPrompt extends LinearLayout { mCallback = callback; Uri uri = Uri.parse(mOrigin); setMessage("http".equals(uri.getScheme()) ? mOrigin.substring(7) : mOrigin); + // The checkbox should always be intially checked. + mRemember.setChecked(true); showDialog(true); } |