commit | 59437e8da8c9e7f4c110481029b701b3759a8c2e | [log] [tgz] |
---|---|---|
author | Grace Jia <[email protected]> | Tue Sep 21 15:47:32 2021 -0700 |
committer | Grace Jia <[email protected]> | Tue Sep 21 15:47:32 2021 -0700 |
tree | 33a350eaa780c407b9eb69c5b69b3351c7599e02 | |
parent | 1e0c51ccca0671b1410181b1428aa12daa9855ee [diff] |
Refactor PinStorage#storePin to avoid dead lock when unlock PIN. There'll be dead lock if we try to get iccid (acquire UiccController) after PinStorage lock acquired since another process will try to get locks in reverse order. Bug: 200588835 Test: FrameworksTelephonyTests:PinStorageTest Change-Id: Ia6d8fe10d6814991ac034ce19d037228700c83d9