History log of /packages/apps/Browser/src/com/android/browser/AutoFillSettingsFragment.java
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
381280d263748055bda5df3bf7d1d10b65b85f5c 11-Aug-2011 Ben Murdoch <benm@google.com> Fix potential NPE when saving/deleting Autofill profile.

As the callback to display a toast confirmation to the user is
asynchronous there's a chance that the Fragment might be detached
when the callback is invoked. Guard against the potential NPE in
this case.

Bug: 5142413
Change-Id: Ic331e1ef3b738c5f2415b028da42c81f8f5e84d2
/packages/apps/Browser/src/com/android/browser/AutoFillSettingsFragment.java
0d63c5d5621b47d95726b5b8ae381f09ef814296 21-Jun-2011 Ben Murdoch <benm@google.com> Only close the AutoFill editor when we're actually done with it

We need the activity to still be alive when the PROFILE_SAVED
callback occurs so that we can get the context to display the toast.
So don't close the editor until we've shown the toast.

Bug: 4615099
Change-Id: I61fee12258193815efb999c576309fef9ac33d23
/packages/apps/Browser/src/com/android/browser/AutoFillSettingsFragment.java
815752af4a61faac210150db4084944fa0f4af33 16-Jun-2011 Ben Murdoch <benm@google.com> Fix up AutoFill profile editor UI in portrait mode

Create layout-port version of the autofill profile editor that extends
vertically rather than horizontally.

In both portrait and landscape, make the "Save profile" button
always visible, remove the "cancel" button as there are already several
ways to leave the activity without saving changes and move the "Delete
profile" button to the options menu.

Change-Id: I3b03c998bc8cb005f066733a3b6979a03396f31f
/packages/apps/Browser/src/com/android/browser/AutoFillSettingsFragment.java
35e9dd6283a2d65687104eb0b3a459c02dcb150b 25-Apr-2011 John Reck <jreck@google.com> Browser settings refactor

Change-Id: I6fc1b21f7ea692fbe37a17bf900e9b7408a9c077
/packages/apps/Browser/src/com/android/browser/AutoFillSettingsFragment.java
366824d00030e6a0a0db5a0cc44f1ab7ac672303 18-Jan-2011 Ben Murdoch <benm@google.com> Strip phone number punctuation when validating for autofill

Strip out any phone number separator characters when calculating
the length of the phone number for validation in the autofill
profile editor.

Change-Id: Ic5f9792a8da8d0d1914b1cdd831a018c64d12ace
/packages/apps/Browser/src/com/android/browser/AutoFillSettingsFragment.java
9d9306d606802ab9c0b6464e24256b74364dc487 18-Jan-2011 Ben Murdoch <benm@google.com> Perform input validation on the AutoFill profile editor.

Perform some simple input validation on the autofill profile
editor to match Chromium's editor more closely.

Now:
- Phone number must be at least 7 digits if present
- Cannot save an empty profile. At least one field other than
phone number must be present and if phone number is present it must be
valid.

Bug:3349013
Bug:3198461
Change-Id: I6d277dda2264c5cebd0b525b1c4cdb80313383ec
/packages/apps/Browser/src/com/android/browser/AutoFillSettingsFragment.java
23da30e29c15ac47aab3fa7ec7091d22dbf86177 26-Oct-2010 Ben Murdoch <benm@google.com> Implement the "Delete Profile" button in the AutoFill editor.

Sync a null profile to BrowserSettings and remove the current
profile data from the editor UI and database.

Change-Id: I9ee911640882841b500914be5c381f686bc20e81
/packages/apps/Browser/src/com/android/browser/AutoFillSettingsFragment.java
6fa32ba4c6bf59a895b220f042a3977e1486ec3e 20-Oct-2010 Ben Murdoch <benm@google.com> Set the unique id in the AutoFillProfile class to fix AutoFill.

WebKit now needs to be aware of the non-zero profile unique id.

Change-Id: I1dad022e48a70cbe199013e441059da2d8ee47ca
/packages/apps/Browser/src/com/android/browser/AutoFillSettingsFragment.java
36a23dd3e46167507070bd9f0e6237570d721b2f 13-Oct-2010 Ben Murdoch <benm@google.com> Full profile editor and syncing with WebSettings.

Add all fields to the AutoFill profile editor and sync them
over to WebSettings through BrowserSettings.

Change-Id: I5eb69ba802571d2261ea11851bdf1b515ca8fb8c
/packages/apps/Browser/src/com/android/browser/AutoFillSettingsFragment.java
0cb8189efd19242f4b2962378bf32de122dafde0 08-Oct-2010 Ben Murdoch <benm@google.com> Sync Autofill profile data native side

When the user adds or edits the AutoFill profile, sync that
data to the native WebKit code through the BrowserSettings
object. Also sync the profile data on startup if it is
available.

Change-Id: I6146a842cb765f8ed91c109537038baad6b547fb
/packages/apps/Browser/src/com/android/browser/AutoFillSettingsFragment.java
af55452d7f37c20201663b80ca77b64457323361 10-Sep-2010 Ben Murdoch <benm@google.com> AutoFill Profile editor UI initial checkin

Make a start on a simple AutoFill profile editor so that
we can get rid of the default John Smith profile we've
been using for testing. This CL also moves the autofill
settings from the Privacy Preferences page to the Personal
Preferences page.

Note that this is just the profile editor in the Browser
and although the data entered is persisted to disk, it is
not yet synced with the native AutoFill code so for now we
continue to use the canned profile native side.

Change-Id: Ie609c5f25fffc914267605efdb10444379c29388
/packages/apps/Browser/src/com/android/browser/AutoFillSettingsFragment.java