commit | c17200a23a9c60d185f1c6b60da9acbc49675324 | [log] [tgz] |
---|---|---|
author | Cosmin Băieș <cosminbaies@google.com> | Wed May 17 17:01:59 2023 +0200 |
committer | Cosmin Băieș <cosminbaies@google.com> | Mon May 22 18:05:43 2023 +0200 |
tree | 9eab84da8ebf6b27a82ba2960a79496e82677c24 | |
parent | 0af24881d4fa83df33cff57abe0d467b3f090dd4 [diff] |
Fix race condition in dumpDebug The dumpDebug method was calling isImeSessionAvailableLocked to ensure that mCurBindState was not null, but this was happening before acquiring the lock. When acquiring the lock and reading the value, this was now null due to an intermediary unbind operation which already had the lock. Test: none Bug: 282815830 Change-Id: I0fddfb12c14eda109cc985eedadc9d3237dff8b0