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

Commit 4a06f798 authored by Jack Yu's avatar Jack Yu
Browse files

Support old carrier config for pdp fail cause radio restart

The carrier config KEY_RESTART_RADIO_ON_PDP_FAIL_REGULAR_DEACTIVATION_BOOL
was deprecated, but we need to continue support it until it gets
removed completely.

Test: Telephony sanity tests
Bug: 111774203
Change-Id: Id096dce8a6270809d784b21ce5c4f56d923bcaf6
parent c457edf8
Loading
Loading
Loading
Loading
+5 −0
Original line number Diff line number Diff line
@@ -163,6 +163,11 @@ public enum DcFailCause {
                if (causeCodes != null) {
                    return Arrays.stream(causeCodes).anyMatch(i -> i == getErrorCode());
                }

                // This is for backward compatibility support. We need to continue support this old
                // configuration until it gets removed in the future.
                return b.getBoolean(CarrierConfigManager
                        .KEY_RESTART_RADIO_ON_PDP_FAIL_REGULAR_DEACTIVATION_BOOL);
            }
        }