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

Commit a466fa57 authored by Yorke Lee's avatar Yorke Lee
Browse files

Don't wtf if second InCallActivity is set

Setting a second InCallActivity before destroying the first is
unexpected but not irrecoverable, so don't crash.

Bug: 21806586
Change-Id: I817041ff6bae900c3b9f225ec66fe223c877e68d
parent 52714642
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -270,7 +270,7 @@ public class InCallPresenter implements CallList.Listener,
            throw new IllegalArgumentException("registerActivity cannot be called with null");
        }
        if (mInCallActivity != null && mInCallActivity != inCallActivity) {
            Log.wtf(this, "Setting a second activity before destroying the first.");
            Log.w(this, "Setting a second activity before destroying the first.");
        }
        updateActivity(inCallActivity);
    }