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

Commit f0673ee9 authored by andychou's avatar andychou Committed by android-build-merger
Browse files

Merge "Also check ImsPhone emergency all status when evaluate preferred data...

Merge "Also check ImsPhone emergency all status when evaluate preferred data slot switch" into qt-dev am: fed74e1a
am: 273a317b

Change-Id: I9ca586ff9163fc12087c5803fce83f9633de51e8
parents ba092ddf 273a317b
Loading
Loading
Loading
Loading
+4 −0
Original line number Diff line number Diff line
@@ -455,6 +455,10 @@ public class PhoneSwitcher extends Handler {
        for (Phone p : mPhones) {
            if (p == null) continue;
            if (p.isInEcm() || p.isInEmergencyCall()) return true;
            Phone imsPhone = p.getImsPhone();
            if (imsPhone != null && (imsPhone.isInEcm() || imsPhone.isInEmergencyCall())) {
                return true;
            }
        }
        return false;
    }