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

Commit 273a317b 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

Change-Id: I1b7c262def3ba0e9e4943b3a87db3aeffee90756
parents cf1dfbe5 fed74e1a
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;
    }