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

Commit 6f75943d authored by Amit Mahajan's avatar Amit Mahajan
Browse files

Fix to handle error in getRadioCapability() correctly.

Test: Basic telephony sanity
Bug: 32020264
Change-Id: I241f9264b114dbdd0d99ba192213beb46dbde244
parent a929fd25
Loading
Loading
Loading
Loading
+3 −1
Original line number Diff line number Diff line
@@ -1115,7 +1115,9 @@ public class RadioResponse extends IRadioResponse.Stub {
                ret = mRil.makeStaticRadioCapability();
                responseInfo.error = RadioError.NONE;
            }
            if (responseInfo.error == RadioError.NONE) {
                sendMessageResponse(rr.mResult, ret);
            }
            mRil.processResponseDone(rr, responseInfo, ret);
        }
    }