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

Commit 7e6d7ab1 authored by Jack Yu's avatar Jack Yu Committed by android-build-merger
Browse files

Merge "Support old carrier config for pdp fail cause radio restart"

am: 47e5b6b4

Change-Id: I2ecb66209bc1ff38f6999b15369e2a17f4f48241
parents 0b78f808 47e5b6b4
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);
            }
        }