diff options
| author | 2023-05-17 17:01:59 +0200 | |
|---|---|---|
| committer | 2023-05-22 18:05:43 +0200 | |
| commit | c17200a23a9c60d185f1c6b60da9acbc49675324 (patch) | |
| tree | 9eab84da8ebf6b27a82ba2960a79496e82677c24 /libs/androidfw/StringPool.cpp | |
| 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
Diffstat (limited to 'libs/androidfw/StringPool.cpp')
0 files changed, 0 insertions, 0 deletions