summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNancy Chen <nancychen@google.com>2014-12-01 17:49:56 -0800
committerNancy Chen <nancychen@google.com>2014-12-02 10:56:56 -0800
commit8b514c9571c587b2e87edfffa38afde4f0458579 (patch)
tree73d6abfd5317b160fc577deb2e118d8de81915ab
parentbd4440be6e5e8ea2c01c1e3c6c1d0e3c9344a6bd (diff)
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
-rw-r--r--InCallUI/src/com/android/incallui/CallCardPresenter.java2
1 files changed, 1 insertions, 1 deletions
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<CallCardPresenter.CallCardUi>
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;
}