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

Commit 52c94295 authored by liyi's avatar liyi
Browse files

Repair the incorrect log of disableIms

Test: atest ImsResolverTest
Change-Id: I2ce010cc60655bf1d0e1928fe98474601598bb9d
parent 6bf3337a
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -118,13 +118,13 @@ public class ImsServiceControllerCompat extends ImsServiceController {
    public final void disableIms(int slotId, int subId) {
        MmTelFeatureCompatAdapter adapter = mMmTelCompatAdapters.get(slotId);
        if (adapter == null) {
            Log.w(TAG, "enableIms: adapter null for slot :" + slotId);
            Log.w(TAG, "disableIms: adapter null for slot :" + slotId);
            return;
        }
        try {
            adapter.disableIms();
        } catch (RemoteException e) {
            Log.w(TAG, "Couldn't enable IMS: " + e.getMessage());
            Log.w(TAG, "Couldn't disableIms IMS: " + e.getMessage());
        }
    }