Skip to content
Commit 44f3ee4c authored by Joanne Chung's avatar Joanne Chung
Browse files

Fix potential deadlock in getAutofillOptions().

The getAutofillOptions() holds the main service lock, we move disable
autofill information from AutofillManagerService to AutofillOptions
in ag/8684509, it may possible cause circular lock between
AutofillManagerService.

Move the disable information to another class DisabledInfoCache, keyed
by user id. We can use a new lock inside this class to prevent use
main service lock

Bug: 150655097
Bug: 150193890
Test: atest CtsAutoFillServiceTestCases

Change-Id: I81973663d849dbbf6e3493ad436e1c77a98f8d82
parent d5763c4c
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment