From a466fa573fe41ca818bfdf3d8c89a752b7dd1c35 Mon Sep 17 00:00:00 2001 From: Yorke Lee Date: Tue, 23 Jun 2015 12:09:39 -0700 Subject: 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 --- InCallUI/src/com/android/incallui/InCallPresenter.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/InCallUI/src/com/android/incallui/InCallPresenter.java b/InCallUI/src/com/android/incallui/InCallPresenter.java index 47342956c..05044cb75 100644 --- a/InCallUI/src/com/android/incallui/InCallPresenter.java +++ b/InCallUI/src/com/android/incallui/InCallPresenter.java @@ -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); } -- cgit v1.2.3