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

Commit 14d27b0b authored by Ling Ma's avatar Ling Ma
Browse files

Increase cookie when reset radio proxy

The change is an amendment to ag/27239327.

Test: voice call + data browsing
Test: atest RIL
Bug: 319612362
Change-Id: I223ca1d3a9d2169f0235f313f74023d1aa9cbabe
parent b036d299
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -511,6 +511,8 @@ public class RIL extends BaseCommands implements CommandsInterface {
    private synchronized void resetProxyAndRequestList(@HalService int service) {
        if (service == HAL_SERVICE_RADIO) {
            mRadioProxy = null;
            // Increment the cookie so that death notification can be ignored
            mServiceCookies.get(service).incrementAndGet();
        } else {
            if (mFeatureFlags.combineRilDeathHandle()) {
                // Reset all aidl services.