diff options
author | Joanne Chung <joannechung@google.com> | 2020-03-16 11:22:59 +0800 |
---|---|---|
committer | Joanne Chung <joannechung@google.com> | 2020-03-24 23:39:36 +0800 |
commit | 44f3ee4c206adc99d7d44728cce1c74eccc7f2cd (patch) | |
tree | 71aa2ba9cdb4f58630ea829059de9afef62ce336 /tools/aapt2/java/JavaClassGenerator_test.cpp | |
parent | d5763c4c1d263ba90b2136ccbcc1f80c6836aeb8 (diff) |
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
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator_test.cpp')
0 files changed, 0 insertions, 0 deletions