am 5964e737: Fix issue 1946033: dialer deadlocks and/or ANRs when using dialpad in-call
Merge commit '5964e73774b381748013b91d04dfb6fc60f533ee' * commit '5964e73774b381748013b91d04dfb6fc60f533ee': Fix issue 1946033: dialer deadlocks and/or ANRs when using dialpad in-call
This commit is contained in:
committed by
The Android Open Source Project
commit
cfe2c402d9
@@ -1225,6 +1225,8 @@ audioCallback_EndLoop:
|
||||
LOGV("Cbk restarting track\n");
|
||||
if (lpToneGen->prepareWave()) {
|
||||
lpToneGen->mState = TONE_STARTING;
|
||||
// must reload lpToneDesc as prepareWave() may change mpToneDesc
|
||||
lpToneDesc = lpToneGen->mpToneDesc;
|
||||
} else {
|
||||
LOGW("Cbk restarting prepareWave() failed\n");
|
||||
lpToneGen->mState = TONE_IDLE;
|
||||
|
||||
Reference in New Issue
Block a user