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

Commit a21f6ca0 authored by Hall Liu's avatar Hall Liu
Browse files

Make Telecom changes in response to API changes

Bug: 147299011
Test: atest TelephonyManagerTest
Change-Id: I6f462447f1c663d91be768501487cecf2cbd8666
parent be7f288c
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -2888,8 +2888,8 @@ public class Call implements CreateConnectionResponse, EventManager.Loggable,
        }

        // Is there a valid SMS application on the phone?
        if (TelephonyManager.getDefaultRespondViaMessageApplication(mContext,
                true /*updateIfNeeded*/) == null) {
        if (mContext.getSystemService(TelephonyManager.class)
                .getAndUpdateDefaultRespondViaMessageApplication() == null) {
            return false;
        }