commit | dcf7d446ecbf3aac074e09e1f9a5f3e6ea98e935 | [log] [tgz] |
---|---|---|
author | jb.qi <jb.qi@mobiletek.cn> | Wed Jan 22 04:52:41 2025 -0800 |
committer | jb.qi <jb.qi@mobiletek.cn> | Wed Jan 22 04:52:41 2025 -0800 |
tree | 5aed84da9799b1ff9903068e73fdea4b96e446b1 | |
parent | 19c1c90b074ca30dfc9ca3753c2107993f7ad86b [diff] |
[Bugfix][T106][bug-view-564]In sleep mode, if you wake up from a call and cannot answer it, immediately go to sleep Only Configure :No Affected branch:master Affected module:voice Is it affected on both ZXIC and MTK:only ZXIC Self-test: Yes Doc Update: No Change-Id: I845016ddd4770efc337e6c81182026078488f1ee
diff --git a/cap/zx297520v3/src/lynq/framework/lynq-autosuspend/autosuspend_wakeup_count.c b/cap/zx297520v3/src/lynq/framework/lynq-autosuspend/autosuspend_wakeup_count.c index 48cbe12..6cbc665 100755 --- a/cap/zx297520v3/src/lynq/framework/lynq-autosuspend/autosuspend_wakeup_count.c +++ b/cap/zx297520v3/src/lynq/framework/lynq-autosuspend/autosuspend_wakeup_count.c
@@ -653,6 +653,8 @@ ALOGI("Error releasing semaphore: %s\n", buf); } + sleep(2); + if(adb_debug_mode == 1) // it's neccessary to wait for autosuspend_disable function calling in debug mode when finish resume procedure. { sleep(40);