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

Commit 8ee2fb0f authored by yueg's avatar yueg Committed by android-build-merger
Browse files

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

am: 2de4a3e6

Change-Id: I0fe1e2f642e017d807ac8c19ee02d69c55de451f
parents 99bea0ce 2de4a3e6
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();
      }
    }