aboutsummaryrefslogtreecommitdiff
path: root/input/autofill/AutofillFramework
AgeCommit message (Collapse)Author
2020-08-19Merge "Update language to comply with Android's inclusive language guidance"Joanne Chung
2020-08-17Update language to comply with Android's inclusive language guidanceJoanne Chung
See https://source.android.com/setup/contribute/respectful-code for reference Bug: 162536543 Test: ./gradlew :Application:build Test: install success and see the changed text Change-Id: Ia04bd65ed9c7ac2116f0ff898fc57b9d9ecc3745
2020-08-14Update language to comply with Android's inclusive language guidanceJoanne Chung
See https://source.android.com/setup/contribute/respectful-code for reference Bug: 162536543 Test: ./gradlew :afservice:build Test: install success and see the changed text Change-Id: I43ef643266e6fffa5ce92fe386154f81d924f0fa
2020-07-30Update language to comply with Android's inclusive language guidanceJeff Sharkey
See https://source.android.com/setup/contribute/respectful-code for reference Bug: 161896447 Change-Id: Ie7e7dd0f1afcfa04856c29484304c15a6cc60c8b
2020-07-23Update language to comply with Android’s inclusive language guidanceXevi Miro Bruix
See https://source.android.com/setup/contribute/respectful-code for reference inclusivefixit Bug: 161896447 Test: Modified documentation Change-Id: I380dd26d5d609900c59da4fc6afc251c3741e5b4
2019-01-16Update to AGP 3.3.0Yuichi Araki
Bug: 122926695 Test: './gradlew assembleDebug' in every project Change-Id: I0c72b409eae50e6f85a024469b6bfea0cfddb80b
2019-01-16Update versions for build dependenciespie-b4s4-devYuichi Araki
This updates Gradle wrapper and Android Gradle Plugin. './gradlew assembleDebug' passes in every project in project.txt (after './gradlew preflight' if necessary). LICENSE was modified in Change-Id: I0b7143eadf2eb17b1ebf0b58e84286f9f87283d9 Test: './gradlew preflight && assembleDebug' in all projects Bug: 122916118 Change-Id: I51f02b1fa5740090d8e75850df54053bb0440863
2018-12-07Merge "moving jcenter() below google()" into pi-devJisha Abubaker
2018-12-04moving jcenter() below google()Jisha Abubaker
Bug: 114236837 Change-Id: I24ed5fc173bf68775512eecf31d52b3a2daa4709
2018-11-16Fixed build.gradleFelipe Leme
Bug: 119261048 Test: ./gradlew :Application:installDebug Test: ./gradlew :afservice:installDebug Change-Id: I5b41c273562864bdf1ecde06eb4a0625b2e2b22e
2018-10-24Updated graddle properties.felipeal
Bug: 114236837 Test: ./gradlew :afservice:installDebug Test: ./gradlew :Application:installDebug Change-Id: I69a2f2bd37bbd19b0861e73664abc48d17c26d79 (cherry picked from commit fb731854f6d5f00a9d009b0de7532bf08e1d24e7)
2018-10-19Turning off ProGuard warningsJisha Abubaker
Test: ./gradlew :afservice:assemble Bug: 114236837
2018-10-17Add missing google() repositoryBen Weiss
Bug: 117481637 Test: Manually built samples Change-Id: I8a9f28c546bc66fe47931024a6bb6591ee3a05ea
2018-10-17Replace maven.google.com with google()Ben Weiss
Bug: 117481637 Test: Manually built samples Change-Id: If9c1ee4a8cc26329c9e4f52bf36bf70387414842
2018-10-10Moar changes on Autofill samples.Felipe Leme
- Renamed HeuristicsService to DebugService. - Removed multi-steps support from MyService (it was broken anyways) - Created a new simple, temporary service to handle multi-step logins. - Added anti-pattern example for login without hints. - Added anti-pattern example for autocomplete without using autofill callbacks. - Added anti-pattern example for multi-step login using activities. - Added edge-case example for custom theme that changes autofilled text. Bug: 114236837 Test: manual verification Change-Id: I7f0f63c090507c247f16eda0075cc20e6dc35139
2018-09-26Fixed basic autofill services broken on previous CLs.Felipe Leme
HeuristicsService: don't generate generic hint on non-autofillable fields, otherwise it will never trigger Save because it would be expecting changes on fields like buttons. BasicService: scan children as well. Bug: 114236837 Test: manual verification Change-Id: I87c335737386f040fec4b036203756cbcaec752c
2018-09-26Change HeuristicsService to always provide a hint.Felipe Leme
This is helpful to help app developers visualize when autofill is triggered when it shouldn't (for example, in a chat conversation window), so they can mark the root view of such activities with android:importantForAutofill=noExcludeDescendants Bug: 114236837 Test: manual verification Change-Id: I33e18e0ed6a274d7918b363e03f90f7decd902b9
2018-09-26Merge "Support Dark Mode on Autofill samples:" into pi-devJisha Abubaker
2018-09-25Support Dark Mode on Autofill samples:Felipe Leme
Bug: 114236837 Bug: 5097842 Fixes: 78028113 Test: manual verification Change-Id: I4137d108f6fd33b3fbef354b9ee1e2e296862cf8
2018-09-25Changes on Autofill Service project:Felipe Leme
- Renamed BasicHeuristicsService to HeuristicsService - Split HeuristicsService from BasicService - Added compat-mode support to Chromium - Supported authentication on HeuristicsService - Changed value to "N-hint" to make it easier to filter out datasets - Added settings to HeuristicService - Made BasicService final, as it's kind of the "smallest" service possible Bug: 114236837 Test: ./gradlew :afservice:installDebug Change-Id: Ie36a8009d5ef39b9f82117f47a86ba11a9a4a9c1
2018-09-25Added antipatterns.BadViewStructureCreationSignInActivity activity.Felipe Leme
This is a simple login page where the view structure is created onStart() instead of onCreate(), which causes autofill to misbehave when the autofill service requires authentication. Bug: 114236837 Bug: 111644535 Test: ./gradlew :Application:installDebug Test: manual verification Change-Id: I8761a3f71ceec44aefd7378da3329643ef015ce4
2018-09-25Fixed Autofill sample to use API 28 instead of Android-PFelipe Leme
Test: ./gradlew installDebug Fixes: 115774490 Change-Id: I06cc4512f21b6e8d49cab70a4641d73917cc578d
2018-09-25Autofill sample: Adds client activity for RecyclerView.Douglas Sigelbaum
Uses a RecyclerView containing autofillable fields to exercise P DP2 API change (mutable AutofillIds). Bug: 74553154 Test: manual Change-Id: Ided48cbd3d22e99a598c95ce9dff73ea7986f23e
2018-09-14Squashed commit of the following:Jisha Abubaker
commit 6e3647ed64670ac29a0ba06b3d3a38190f180a10 Author: Felipe Leme <felipeal@google.com> Date: Fri Aug 17 15:19:28 2018 -0700 Created a virtual view that uses accessibility events instead of autofill... ...so it can be used to test Autofill Compatibility mode. Test: manual verification Bug: 112690889 commit d2da7ab50cb33b54fbdc72b2fab6c0b2a4bad178 Author: Felipe Leme <felipeal@google.com> Date: Tue May 8 10:06:53 2018 -0700 Added compat mode support to BasicHeuristicsService. Bug: 75285224 Test: manual verification with Chrome
2018-09-14Reduced sample_form.html to just 2 fields, username and password.Felipe Leme
Otherwise, it requires filling all fields to trigger Save, which is confusing. Bug: 79392483 Test: manual verification Change-Id: Ic02578d8efa6daf7a5dabca0e26889f1b84c22c3
2018-04-18Added another simple service, this one uses some rudimentary heuristics.pie-devFelipe Leme
Also improved services so they just try to autofill fields set with autofill type text. Bug: 75285224 Test: ./gradlew :afservice:installDebug Change-Id: I299f89784aaf15d6ddc05e4d4f5fdf6866854df2
2018-04-18Merge "Autofill sample: Update build.gradles." into pi-devFelipe Leme
2018-04-18Autofill sample: Update build.gradles.Douglas Sigelbaum
Bug: 75285224 Test: manual Change-Id: Ia3094958b49ea66fb2feb566cdd70df78c6628a9
2018-03-30Don't trigger manual dataset pick up when service finds autofillable items.Felipe Leme
Test: manual verification Bug: 71907097 Change-Id: I917c03383dd0803d8aabb8a00f15deca5762a46d
2018-03-19Created a simple service (A.K.A. ASIOF - Autofill Service In One File)Felipe Leme
Bug: 75285224 Test: ./gradlew :afservice:installDebug Change-Id: I67fb162b4f18593b73a10becaead189559ab21f5
2018-02-16Add maintainer's note to AutofillFramework am: 614f070360Trevor Johns
am: b1762a98ed Change-Id: Id9ab3a8518be6cbdbfd83dee0ce33fa65652d315
2018-02-15Add maintainer's note to AutofillFrameworkTrevor Johns
The Kotlin version of this sample is temporarily out of date due to API changes. Add a maintainer's note to let users know that the Java version is more current at the moment. It looks like this change was made to Github directly, but will be wiped out by the next push. Also, it was a <h1> element, which means the samples parser is interpreting it as the title of the sample. Test: N/A Bug: 73495046 Change-Id: I41e56bcf511b6a238bc32ebbc628d581a8e4e584
2018-02-03Autofill kotlin sample: warn that it is outdated.Doug Sigelbaum
Bug: 72888430 Test: not needed Change-Id: Ibdd4a0de19297a38a5d4f72be9ecad82b7ff644f
2018-02-03Fixed many autofill service sample issues.Doug Sigelbaum
Including issue with providing too many autofillIds to service. Bug: 72740101 Test: manual Change-Id: I31e0b9b4186a8f169888ce925bc2b8a022dde058
2018-01-22Autofill Kotlin sample: fix permission in service manifest.Douglas Sigelbaum
Bug: 72333583 Test: manual Change-Id: I9555aa58d5158c86e453e4f00012b0fd858a3b9c
2018-01-22Autofill: gradle updates.Douglas Sigelbaum
Bug: 71907097 Test: Manual Change-Id: Ib07716408032cf5ffb6fa9aa352799a7815ff127
2018-01-22Autofill sample: proof of concept for manual longpress.Douglas Sigelbaum
Bug: 71907097 Test: Manual Change-Id: Ic05356100c6fd23bcf5a1915507f2f28343c1dab
2018-01-22Autofill sample: Refactor to allow for more heuristics.Douglas Sigelbaum
* Moved default autofill hints and fake data to JSON that populates * local DB. * Made new tables in DB to represent heuristic types. * TODO: Fix bug where adding fake data doesn't work the first time. Bug: 71907097 Test: Manual Change-Id: Iffae737662e402cf17e63a6d5d0f0a276d6807bc
2018-01-20Add missing packaging info for Kotlin samples am: c50da999f1Tiem Song
am: 8ad0e5fba9 Change-Id: I3d1a0d254bfd66ddb55a39a62610c8f1bc2c77fd
2018-01-18Add missing packaging info for Kotlin samplesTiem Song
Also update README files as necessary. Bug: 64766094 Test: N/A, project metadata change only. Change-Id: Icc77b2fa2a3d52f8faaf49c6c0610cce6b59c574
2018-01-12Adding support for multi-page.Douglas Sigelbaum
Bug: 71907097 Test: manual Change-Id: I9630d554f7e2a466446a99d09d55690af760ad37
2018-01-05Merge changes I4ec1d73e,Ib3d740c6,I6d7b029f,I6d6eee18TreeHugger Robot
* changes: Save ClientViewMetadata between pages. Autofill sample: Add DAL check req levels to settings. Autofill sample: use string resources for failure messages. Autofill sample: Cancel autofill when clear button is pressed.
2018-01-04Save ClientViewMetadata between pages.Douglas Sigelbaum
Bug: 69771916 Test: Manual Change-Id: I4ec1d73e727c6e98d007af234b9174e46c51a652
2017-12-18Update versions for build toolsTrevor Johns
- Update Gradle Wrapper to v4.4 Fixes incompatibility with older Gradle versions and Android projects. - Update build tool and dependency versions in build.gradle Test: compileSamples.sh Bug: 70645270 Change-Id: Id4608bf5d56259427d847c356b40d743773ea3d9
2017-12-18Update versions for build toolsTrevor Johns
- Update Gradle Wrapper to v4.4 Fixes incompatibility with older Gradle versions and Android projects. - Update build tool and dependency versions in build.gradle Test: compileSamples.sh Bug: 70645270 Change-Id: Id4608bf5d56259427d847c356b40d743773ea3d9 Merged-In: Id4608bf5d56259427d847c356b40d743773ea3d9
2017-12-12Autofill sample: Add DAL check req levels to settings.Douglas Sigelbaum
Bug: 66900717 Test: manual Change-Id: Ib3d740c6a6ead33a79bf6278a790643831d419d9
2017-12-12Autofill sample: use string resources for failure messages.Douglas Sigelbaum
Bug: 69772848 Test: manual Change-Id: I6d7b029fc47b8c9d49c17698da7e18d72f6a783f
2017-12-12Autofill sample: Cancel autofill when clear button is pressed.Douglas Sigelbaum
Bug: 69771916 Test: manual Change-Id: I6d6eee1844a36837d9f5d24021fecdd20b2ad3e2
2017-12-12Autofill sample: Fix authentication bugs.Douglas Sigelbaum
Bug: 69833446 Test: manual Change-Id: Idaea1b86090153c3f821d4a3219a5a7c915a807c
2017-12-12Refactoring AssistStructure parsing and models.Douglas Sigelbaum
Bug: 69441672 Test: still manual Change-Id: I0d7b098f7e3e8bbb728e72016bf26b33dd439293