OSDN Git Service

am 322c39b5: Merge change I0d0fa17a into eclair
authorSteve Block <steveblock@google.com>
Wed, 30 Sep 2009 17:02:47 +0000 (10:02 -0700)
committerAndroid Git Automerger <android-git-automerger@android.com>
Wed, 30 Sep 2009 17:02:47 +0000 (10:02 -0700)
Merge commit '322c39b55f6418d0173a8925c3cdc38b13d13f14' into eclair-plus-aosp

* commit '322c39b55f6418d0173a8925c3cdc38b13d13f14':
  Sets the intial state of the Geolocation permission prompt 'remember' checkbox to checked every time it is shown.

src/com/android/browser/GeolocationPermissionsPrompt.java

index 61005d5..a21bc3e 100755 (executable)
@@ -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);
     }