From d912396454775ee0cca20d94efa92bb3caac02fd Mon Sep 17 00:00:00 2001 From: Martin Bouchet Date: Sun, 24 Sep 2017 03:14:57 -0300 Subject: [PATCH] libril: fix in call presentation Change-Id: Ifd4a20c0bcd34f380716cc96cdd4c99b4b909266 --- ril/libril/ril_service.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ril/libril/ril_service.cpp b/ril/libril/ril_service.cpp index 9dc62b6..949ee30 100644 --- a/ril/libril/ril_service.cpp +++ b/ril/libril/ril_service.cpp @@ -3015,7 +3015,7 @@ int radio::getCurrentCallsResponse(int slotId, RIL_Call *p_cur = ((RIL_Call **) response)[i]; /* each call info */ calls[i].state = (CallState) p_cur->state; - calls[i].index = p_cur->index; + calls[i].index = p_cur->index & 0xff; calls[i].toa = p_cur->toa; calls[i].isMpty = p_cur->isMpty; calls[i].isMT = p_cur->isMT; -- 2.20.1