commit | 57896d2a1c7f55b302851662175817d257ba2805 | [log] [tgz] |
---|---|---|
author | Gabriel Biren <gbiren@google.com> | Mon Apr 10 23:47:45 2023 +0000 |
committer | Gabriel Biren <gbiren@google.com> | Mon Apr 10 23:47:45 2023 +0000 |
tree | d3ee6f0cf6a59d5ea915b600ac170acad4652fe5 | |
parent | 9074fdc1da1aee821df2fe7e33a461ef673eda87 [diff] |
Acquire the global lock when the dump method is called. This should prevent a race condition between stop() and dump(). stop() already acquires the global lock when it calls validateAndCall(). Bug: 274641043 Test: adb shell dumpsys wifi # validates dump() Change-Id: Ie2df0861308954cd2e399c9604d4ae0dcddf95fb