From 8b514c9571c587b2e87edfffa38afde4f0458579 Mon Sep 17 00:00:00 2001 From: Nancy Chen Date: Mon, 1 Dec 2014 17:49:56 -0800 Subject: Change Log.wtf to Log.w to prevent rare crash. Occasionally the message "Secondary info clicked but no secondary call." will cause a crash because it is logging wtf. It's not quite clear why this happens but is not causing any behavioral problems. Also no defined repo steps, but it's low-risk to turn Log.wtf to Log.w which will just log a warning instead of crash. Bug: 18465594 Change-Id: Ied23e5b52162cf68089bd5248fbdbf9e05eefdf8 --- InCallUI/src/com/android/incallui/CallCardPresenter.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/InCallUI/src/com/android/incallui/CallCardPresenter.java b/InCallUI/src/com/android/incallui/CallCardPresenter.java index 07feb2950..97e8965e2 100644 --- a/InCallUI/src/com/android/incallui/CallCardPresenter.java +++ b/InCallUI/src/com/android/incallui/CallCardPresenter.java @@ -657,7 +657,7 @@ public class CallCardPresenter extends Presenter public void secondaryInfoClicked() { if (mSecondary == null) { - Log.wtf(this, "Secondary info clicked but no secondary call."); + Log.w(this, "Secondary info clicked but no secondary call."); return; } -- cgit v1.2.3