Ahaan Ugale
d1150f619f
InlineFillService: Randomize the saved password count.
...
Makes it easy to test the plurality of the displayed text in settings.
Bug: 169455298
Test: manual
Change-Id: Ieaab97de874afeb4ed10f2867cd39348ba701954
2021-04-06 02:07:58 +00:00
Ahaan Ugale
38ff291ca0
InlineFillService: Implement onSavedDatasetsInfoRequest.
...
Bug: 169455298
Test: manual
Change-Id: I8a2d15350b08fc7fb8673114160cc14f6380c7f4
2021-03-23 08:35:03 -07:00
Ahaan Ugale
d3e91ddd32
InlineFillService: Add a passwords settings activity.
...
This will be linked to from system settings.
Bug: 169455298
Test: manual
Change-Id: Id0ee7f0b5641c4be02e9b02d1d6bf7d1a8a6ef37
2021-02-28 22:12:18 -08:00
Treehugger Robot
73272bf578
Merge "[LSC] Add LOCAL_LICENSE_KINDS to development" am: d6b1cbf769 am: 4d108c6ffe am: 483ddf28c8
...
Original change: https://android-review.googlesource.com/c/platform/development/+/1589100
MUST ONLY BE SUBMITTED BY AUTOMERGER
Change-Id: I8bfb99db5af219de8b7c6844b99006009152bbe8
2021-02-16 01:02:14 +00:00
Bob Badour
f7cf305656
[LSC] Add LOCAL_LICENSE_KINDS to development
...
Added SPDX-license-identifier-Apache-2.0 to:
apps/BluetoothDebug/Android.bp
apps/BuildWidget/Android.bp
apps/CustomLocale/Android.bp
apps/DevelopmentSettings/Android.bp
apps/Fallback/Android.bp
apps/GestureBuilder/Android.bp
apps/NinePatchLab/Android.bp
apps/OBJViewer/Android.bp
apps/PushApiAuthenticator/Android.bp
apps/PushApiTestAppOne/Android.bp
apps/PushApiTestAppTwo/Android.bp
apps/SdkSetup/Android.bp
apps/SettingInjectorSample/Android.bp
apps/WidgetPreview/Android.bp
apps/launchperf/Android.bp
cmds/monkey/Android.mk
gsi/gsi_util/Android.bp
gsi/repack_super_image/Android.bp
host/windows/Android.bp
python-packages/Android.bp
samples/AccelerometerPlay/Android.bp
samples/AdaptiveIconSample/Android.bp
samples/AliasActivity/Android.bp
samples/AndroidBeamDemo/Android.bp
samples/AppNavigation/Android.bp
samples/AutofillKeyboard/Android.bp
samples/BackupRestore/Android.bp
samples/BasicGLSurfaceView/Android.bp
samples/BluetoothChat/Android.bp
samples/BrokenKeyDerivation/Android.bp
samples/BrokenKeyDerivation/tests/Android.bp
samples/BusinessCard/Android.bp
samples/Compass/Android.bp
samples/ContactManager/Android.bp
samples/CubeLiveWallpaper/Android.bp
samples/DataWiper/Android.bp
samples/DeviceAdminWhitelistedAccount/Android.bp
samples/FixedGridLayout/Android.bp
samples/HeavyWeight/Android.bp
samples/HelloActivity/Android.bp
samples/HelloActivity/tests/Android.bp
samples/HelloEffects/Android.bp
samples/Home/Android.bp
samples/HoneycombGallery/Android.bp
samples/InlineFillService/Android.bp
samples/JetBoy/Android.bp
samples/LceDemo/Android.bp
samples/LunarLander/Android.bp
samples/LunarLander/tests/Android.bp
samples/MultiResolution/Android.bp
samples/MultiWindow/Android.bp
samples/MySampleRss/Android.bp
samples/NotePad/Android.bp
samples/Obb/Android.bp
samples/RSSReader/Android.bp
samples/ReceiveShareDemo/Android.bp
samples/SampleSyncAdapter/Android.bp
samples/SimpleJNI/Android.bp
samples/SimpleJNI/jni/Android.bp
samples/SipDemo/Android.bp
samples/SkeletonApp/Android.bp
samples/SkeletonApp/tests/Android.bp
samples/Snake/Android.bp
samples/Snake/tests/Android.bp
samples/SoftKeyboard/Android.bp
samples/SpellChecker/HelloSpellChecker/Android.bp
samples/SpellChecker/SampleSpellCheckerService/Android.bp
samples/StackWidget/Android.bp
samples/ThemedNavBarKeyboard/Android.bp
samples/ToyVpn/Android.bp
samples/TtsEngine/Android.bp
samples/USB/AdbTest/Android.bp
samples/USB/MissileLauncher/Android.bp
samples/UiAutomator/Android.mk
samples/Vault/Android.bp
samples/Vault/tests/Android.bp
samples/VoiceRecognitionService/Android.bp
samples/VoicemailProviderDemo/Android.bp
samples/WeatherListWidget/Android.bp
samples/WiFiDirectDemo/Android.bp
samples/WiFiDirectServiceDiscovery/Android.bp
samples/Wiktionary/Android.bp
samples/WiktionarySimple/Android.bp
samples/XmlAdapters/Android.bp
samples/apkcachetest/Android.bp
samples/training/NsdChat/Android.bp
scripts/Android.bp
testrunner/Android.mk
testrunner/tests/Android_native.mk
tools/apkcheck/Android.bp
tools/bugreport/Android.bp
tools/etc1tool/Android.bp
tools/idegen/Android.bp
tools/mkstubs/Android.bp
tools/rmtypedefs/Android.bp
vndk/Android.bp
vndk/tools/Android.bp
vndk/tools/elfcheck/Android.bp
vndk/tools/header-checker/Android.bp
vndk/tools/header-checker/src/repr/protobuf/proto/Android.bp
vndk/tools/header-checker/tests/integration/ifunc/Android.bp
vndk/tools/header-checker/tests/integration/version_script_example/Android.bp
vndk/tools/image-diff-tool/Android.bp
Added SPDX-license-identifier-Apache-2.0 SPDX-license-identifier-BSD
SPDX-license-identifier-CPL-1.0 SPDX-license-identifier-MIT
SPDX-license-identifier-Unicode-DFS SPDX-license-identifier-W3C
legacy_restricted legacy_unencumbered
to:
Android.bp
Added SPDX-license-identifier-Apache-2.0 SPDX-license-identifier-CPL-1.0
to:
samples/SearchableDictionary/Android.bp
Added SPDX-license-identifier-Apache-2.0 legacy_unencumbered
to:
tools/Android.bp
Added SPDX-license-identifier-BSD SPDX-license-identifier-CPL-1.0
SPDX-license-identifier-MIT SPDX-license-identifier-Unicode-DFS
SPDX-license-identifier-W3C
to:
sdk/Android.bp
Added legacy_restricted
to:
samples/KeyChainDemo/Android.bp
tools/line_endings/Android.bp
vndk/tools/definition-tool/datasets/Android.bp
Bug: 68860345
Bug: 151177513
Bug: 151953481
Test: m all
Exempt-From-Owner-Approval: janitorial work
Change-Id: I9847e00fb4278bc083b4debbc751003c995ea45c
2021-02-12 17:13:45 -08:00
Joanne Chung
f363525b73
Use the flag FLAG_MUTABLE when creating the PendingIntent
...
Starting with S, any app targeting S+ will need to specify
explicitly either FLAG_MUTABLE or FLAG_IMMUTABLE when creating
PendingIntents.
This change helps mitigate against implicit PendingIntent reuse.
At present, all PendingIntents are mutable by default unless
FLAG_IMMUTABLE is explicitly set when creating them. This often
leads to developers accidentally making the PendingIntents mutable
and thus handing their receivers powers to fill in critical fields.
Because the autofill system server will need to update it, the
PendingIntent from the service provider (AwG, AiAi etc) should be
mutable.
Bug: 170771150
Test: manual. Make sure the function works normal.
Change-Id: I52e7e0924103447ff8e4bad553539c7b1dba34af
2020-11-03 02:31:57 +00:00
Joanne Chung
d182ec9737
Fix InlineFillService cannot be installed successfully
...
For app target S+, it requires an explicit value for android:exported
be defined when intent filters are present. Add android:exported to
fix the problem.
Bug: 162724573
Test: make InlineFillService and then can install apk successfully.
Change-Id: I867b8caac38825d64af30f331a1bd86aa3e3b914
2020-08-03 20:40:22 +08:00
Joanne Chung
e48202f01c
Follow sample code package-name convention for InlineFillService.
...
Bug: 155135358
Test: Manual. Install the application and dumpsys to check package
name.
Change-Id: Ifc338e40e6a2d37b775f6a60664231c2ce248eff
2020-06-03 17:34:22 +08:00
Feng Cao
3de13dad62
Use updated inline suggestion support lib API
...
Test: m -j
Test: atest android.autofillservice.cts.inline
Bug: 155172850
Change-Id: Iba6d76c38885498547b0421a0f4df54c7ed41ad3
2020-05-27 10:03:27 -07:00
Feng Cao
0c501136ca
Update sample IME and autofill provider to use the new support lib APIs
...
* refactor the autofill provider code
* keyboard now uses wrap_content when inflating
Test: manual
Bug: 154178486
Change-Id: Ie540178d8f063e3a8e9afb76284b15ab40ada344
2020-04-28 00:04:20 -07:00
Svet Ganov
f34c6275f1
Update the sample keyboard to showcase scroll, clip, toggle
...
The keyboard now showcases how one can implement a suggestion
strip with some pinned suggestions on the left and the right
of the strip and the strip suggestions are scrollable and well
as clipped to the scroll are's bounds. Also this showcases
how to toggle the layering of the suggestions to temporary
amimate on top of them. Fun, fun fun :)
bug:1234567
Change-Id: I7f2a6ea148de31be7cd0f13f56d72f6e5246a5f8
2020-04-08 03:10:53 +00:00
Adam He
d60f629802
Migrate to new APIs utilizing
...
android.widget.inline.InlinePreesntationSpecs.
Bug: 151262653
Test: manual verification
Change-Id: Ia03d463d6e7b18c34de95a9cde639bb307c301ef
2020-03-26 15:49:14 -07:00
Feng Cao
c7ed6af6be
Sample app: Use authentication instead of inline actions
...
Test: manual
Bug: 150499490
Change-Id: Ifc827cd1d633bf26a3450c392cc7da1211d02cfa
2020-03-18 14:16:20 -07:00
Feng Cao
8f41686c0a
Update sample app for the inline action API change
...
Test: manual verification
Test: atest android.autofillservice.cts.inline
Bug: 150499490
Change-Id: I301d2c2b8afd86362a7a1989223a2f305e4e92bd
2020-03-09 16:57:35 -07:00
Adam He
62dfb3ae4e
Added auth activities for inline fill service.
...
This CL adds functionality to test both response and dataset
authentication using the inline fill service. Setting either
mAuthenticateResponses or mAuthenticateDatasets will test either
functionality.
Bug: 148815880
Test: manual verification
Change-Id: Ifb734c4fd8d5ef38dd4c6c9d4b493c80abbde305
2020-02-12 14:50:50 -08:00
TreeHugger Robot
7d20b8b239
Merge "Sample AF app: Return static icon in the InlineFillService"
2020-02-04 04:08:26 +00:00
Feng Cao
c3ff274a6a
Sample AF app: Return static icon in the InlineFillService
...
Test: manual
Bug: 147394280
Change-Id: I311a3aac05f874c42e400eea2ee343ae0eb01da5
2020-02-03 15:08:51 -08:00
Svet Ganov
6b5b977f1e
Scrollable inline suggestions
...
Increase the number of suggestions for scrolling in
the sample autofill service.
Add scrollable container for the suggestions in the
keyboard suggestion view.
Test: manual
Change-Id: I4f8a2fe191f4b7e5a70b5370a7bd55a2e9dddc9a
2020-01-27 19:32:01 -08:00
Feng Cao
6ca2598e25
Add inline controller UI fields to the autofill response and IME inline response
...
Test: build
Bug: 147394280
Change-Id: I79e51cb5d8e68cc3e099bf218a77c07de600da91
2020-01-23 18:45:08 -08:00
Adam He
1be5dade1d
hardcode slice creation inline with androidx inlinepresentationbuilder.
...
Bug: 147116534
Test: manual verification.
Change-Id: I49d653da1e5d408c1a0219b98a755d1eab753f2d
2020-01-14 15:57:59 -08:00
Adam He
7c0a14d303
Fixed inline fill service crashing calling dataset api with null inline
...
presentation.
Bug: 146453536
Test: manual verification
Change-Id: Ic565115b067ae05e980393c49963b3bd0362f5cc
2020-01-06 15:03:59 -08:00
Adam He
b60f71e9c7
Refactored Inline Fill Service to provide Slice in Datasets
...
Bug: 146453536
Test: manual verification
Change-Id: I833786992ecd183cdc20bc1f193f8726e01dedc8
2020-01-06 10:22:23 -08:00
Adam He
87a8075963
Inline Fill Service for demo.
...
Bug: 137800469
Test: manual verification
Change-Id: I44464649dc64f26823461b2bc54dd64440471d61
2020-01-02 08:32:29 -08:00