summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authoryueg <yueg@google.com>2018-03-07 15:29:48 -0800
committerCopybara-Service <copybara-piper@google.com>2018-03-07 17:17:04 -0800
commit6ce88e749ff71631fd0050ba127351dee39a1536 (patch)
treea99436c01d08ebbc138b5c081eecea1b5c313c75
parentac386c9306879d00cfe3ca91a5c53609a27b0636 (diff)
Fix view not attached to window manager crash and add logs.
Test: none PiperOrigin-RevId: 188244536 Change-Id: I7d41adaf600ba7829054ab8af6b4d30fd0873c3b
-rw-r--r--java/com/android/incallui/NewReturnToCallController.java3
1 files changed, 3 insertions, 0 deletions
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();
}
}