Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 6ce88e74 authored by yueg's avatar yueg Committed by Copybara-Service
Browse files

Fix view not attached to window manager crash and add logs.

Test: none
PiperOrigin-RevId: 188244536
Change-Id: I7d41adaf600ba7829054ab8af6b4d30fd0873c3b
parent ac386c93
Loading
Loading
Loading
Loading
+3 −0
Original line number Diff line number Diff line
@@ -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();
      }
    }