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

Commit 87d06348 authored by Joseph Pirozzo's avatar Joseph Pirozzo
Browse files

MAP client handle failure to connect.

Update MAP client to correctly handle the MSG_MAS_DISCONNECTED while in
the Connecting state.

Bug: 74111588
Test: Connect MAP client to a phone that rejects it.
Change-Id: I38f88613d55c95210c2e27dc3cb3052047411d13
parent e06dde07
Loading
Loading
Loading
Loading
+4 −0
Original line number Diff line number Diff line
@@ -347,6 +347,10 @@ final class MceStateMachine extends StateMachine {
                    transitionTo(mConnected);
                    break;

                case MSG_MAS_DISCONNECTED:
                    transitionTo(mDisconnected);
                    break;

                case MSG_CONNECTING_TIMEOUT:
                    transitionTo(mDisconnecting);
                    break;