From 6ce88e749ff71631fd0050ba127351dee39a1536 Mon Sep 17 00:00:00 2001 From: yueg Date: Wed, 7 Mar 2018 15:29:48 -0800 Subject: Fix view not attached to window manager crash and add logs. Test: none PiperOrigin-RevId: 188244536 Change-Id: I7d41adaf600ba7829054ab8af6b4d30fd0873c3b --- java/com/android/incallui/NewReturnToCallController.java | 3 +++ 1 file changed, 3 insertions(+) diff --git a/java/com/android/incallui/NewReturnToCallController.java b/java/com/android/incallui/NewReturnToCallController.java index c588dc4e1..b83462e12 100644 --- a/java/com/android/incallui/NewReturnToCallController.java +++ b/java/com/android/incallui/NewReturnToCallController.java @@ -102,10 +102,13 @@ public class NewReturnToCallController implements InCallUiListener, Listener, Au @Override public void onUiShowing(boolean showing) { + LogUtil.i("ReturnToCallController.onUiShowing", "showing: " + showing); if (showing) { + LogUtil.i("ReturnToCallController.onUiShowing", "going to hide"); hide(); } else { if (getCall() != null) { + LogUtil.i("ReturnToCallController.onUiShowing", "going to show"); show(); } } -- cgit v1.2.3