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

Commit 46cdf805 authored by Treehugger Robot's avatar Treehugger Robot Committed by Gerrit Code Review
Browse files

Merge "Fix for NonSimulatorConnection listener causing dialer crashing after ending a call."

parents 5800262b a5d04863
Loading
Loading
Loading
Loading
+5 −0
Original line number Diff line number Diff line
@@ -30,6 +30,11 @@ final class NonSimulatorConnectionListener implements SimulatorConnection.Listen
  @Override
  public void onEvent(@NonNull SimulatorConnection connection, @NonNull Event event) {
    switch (event.type) {
      case Event.STATE_CHANGE:
        LogUtil.i(
            "SimulatorVoiceCall.onEvent",
            String.format("state changed from %s to %s ", event.data1, event.data2));
        break;
      case Event.REJECT:
        connection.setDisconnected(new DisconnectCause(DisconnectCause.REJECTED));
        break;