Commit Graph

5 Commits

Author SHA1 Message Date
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
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
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