diff options
| author | Fred Quintana <fredq@google.com> | 2011-02-24 18:27:50 -0800 |
|---|---|---|
| committer | Fred Quintana <fredq@google.com> | 2011-03-01 11:23:19 -0800 |
| commit | f9f240e3ad5ff5eeaa32fbb2dd65ef7f3b06af32 (patch) | |
| tree | 31f03102a5da42574382451a794e894439af05f8 /docs/html/sdk/api_diff/11/changes | |
| parent | 9d30f5bce1be1548d069c8bcf80f566c2b173a48 (diff) | |
Fix a deadlock in AccountManagerService cause by different
paths of code getting the mCacheLock and DB locks in different
orders.
The philosophy I followed for this was to ensure that the
DatabaseHelper is only ever accessed from within a
synchronized(mCacheLock) block. I also renamed a bunch of
methods to make it easier to know if a given method should
be called from within this synchronized block.
Bug: 3404506
Change-Id: Ia48f95e77b77647d0717f70f1d8364da3719cc13
Diffstat (limited to 'docs/html/sdk/api_diff/11/changes')
0 files changed, 0 insertions, 0 deletions
