Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 0d8bcd2f authored by Deqiang Chen's avatar Deqiang Chen
Browse files

Send back dummy response when RIL version is lower than 8

Fix time out error for getCellLocation on target without
FEATURE_TELEPHONY.

Test: atest TelephonyManagerTest#testTelephonyManager

Bug: 134985943
Change-Id: I1327a1a5d023fcabba3cfa02a75dc4587659127e
parent 88c8c45d
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -4766,6 +4766,8 @@ public class ServiceStateTracker extends Handler {
    public void requestAllCellInfo(WorkSource workSource, Message rspMsg) {
        if (VDBG) log("SST.requestAllCellInfo(): E");
        if (mCi.getRilVersion() < 8) {
            AsyncResult.forMessage(rspMsg);
            rspMsg.sendToTarget();
            if (DBG) log("SST.requestAllCellInfo(): not implemented");
            return;
        }