summaryrefslogtreecommitdiffstats
path: root/src/com/android/browser/AutoFillSettingsFragment.java
Commit message (Collapse)AuthorAgeFilesLines
* De-classicify Android Browser part 2Jonathan Dixon2013-08-251-291/+0
| | | | | | | | | | Bug: 10427705 Allows Browser to compile even when WebViewClassic is no longer in frameworks/base. The deleted functionality was already disabled at runtime when using non-classic webview. Change-Id: I21b58ec52ac059c699b49a2dd80008d9a9e6791a
* Fixup browser to use WebView proxyJonathan Dixon2012-03-021-1/+1
| | | | | | | | Has to escape out to WebViewClassic whenever it needs a hidden API. Interdepends on https://android-git.corp.google.com/g/165608 Change-Id: Ic61dd7f57f75381864075605d5901f2688648cbd
* Fix monkey crash in AutofillSettingsFragment.Ben Murdoch2011-10-271-0/+9
| | | | | | | | | | It's possible to trigger the options menu before the views are fully inflated if you're really fast like the monkey. Bug: 5518582 Change-Id: I86402cc1df70289d9f0685a5c9949ac38fbd9cd0
* Fix Autofill profile editor UI.Ben Murdoch2011-10-201-33/+39
| | | | | | | | Move the save button into the action bar to conserve space. Update the IME options so that we don't enter extract mode. Bug: 5210430 Change-Id: I0c5d6c200071130c9b6ed19a1def7ac0fd42ac10
* Fix potential NPE when saving/deleting Autofill profile.Ben Murdoch2011-08-111-5/+10
| | | | | | | | | | 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
* Only close the AutoFill editor when we're actually done with itBen Murdoch2011-06-211-1/+1
| | | | | | | | | 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
* Fix up AutoFill profile editor UI in portrait modeBen Murdoch2011-06-171-31/+34
| | | | | | | | | | | | 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
* Browser settings refactorJohn Reck2011-04-261-3/+5
| | | | Change-Id: I6fc1b21f7ea692fbe37a17bf900e9b7408a9c077
* Strip phone number punctuation when validating for autofillBen Murdoch2011-01-191-2/+9
| | | | | | | | 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
* Perform input validation on the AutoFill profile editor.Ben Murdoch2011-01-181-5/+96
| | | | | | | | | | | | | | | 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
* Implement the "Delete Profile" button in the AutoFill editor.Ben Murdoch2010-10-291-15/+55
| | | | | | | Sync a null profile to BrowserSettings and remove the current profile data from the editor UI and database. Change-Id: I9ee911640882841b500914be5c381f686bc20e81
* Set the unique id in the AutoFillProfile class to fix AutoFill.Ben Murdoch2010-10-201-0/+6
| | | | | | WebKit now needs to be aware of the non-zero profile unique id. Change-Id: I1dad022e48a70cbe199013e441059da2d8ee47ca
* Full profile editor and syncing with WebSettings.Ben Murdoch2010-10-141-22/+62
| | | | | | | Add all fields to the AutoFill profile editor and sync them over to WebSettings through BrowserSettings. Change-Id: I5eb69ba802571d2261ea11851bdf1b515ca8fb8c
* Sync Autofill profile data native sideBen Murdoch2010-10-131-73/+13
| | | | | | | | | 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
* AutoFill Profile editor UI initial checkinBen Murdoch2010-10-061-0/+142
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