commit | 38641831460c80f554dc926e486a67e9b9449b11 | [log] [tgz] |
---|---|---|
author | Fyodor Kupolov <fkupolov@google.com> | Tue Jun 28 17:37:09 2016 -0700 |
committer | Fyodor Kupolov <fkupolov@google.com> | Tue Jun 28 17:37:09 2016 -0700 |
tree | 6581914263d583d533e7f50368131185a397decb | |
parent | 58dd0cd65e7ac9ca0c9ccbf42087baf2df751c61 [diff] |
Fixed race condition by using a separate counter Otherwise a broadcast item replies before the loop completes causing curWaitingUserSwitchCallbacks to be erroneously empty triggering a premature call to sendContinueUserSwitchLocked. Bug: 29039588 Change-Id: I48f48ef68c178166d3473b898346f516905ee70c