Qualcomm KBA-180725024109 to solve Far the Proximity
and the screen will never light on sometimes
Change-Id: I445c5026369fad21c26a56833110c190d64822d3
(cherry picked from commit 32b311163e8954d8f7d738bfb45a02c4d01f91b9)
diff --git a/net/ipc_router/ipc_router_core.c b/net/ipc_router/ipc_router_core.c
index 90f1024..e28eb8b 100644
--- a/net/ipc_router/ipc_router_core.c
+++ b/net/ipc_router/ipc_router_core.c
@@ -239,6 +239,12 @@
if (rport && rport->server) {
svcid = rport->server->name.service;
+ //<2019/09/05,ShermanWei for Qualcomm KBA-180725024109 patch
+ //to solve that far Proximity the screen can not light on sometimes.
+ //// hold wakelock for thresh(proximity) algo sensor and OEM1(e.g: pick up gesture sensor)
+ if (svcid == 277 || svcid == 287)
+ return false;
+ //>2019/09/05,ShermanWei
if (svcid == 400 || (svcid >= 256 && svcid <= 320))
return true;
}