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

Commit fc19c8c2 authored by Sailesh Nepal's avatar Sailesh Nepal Committed by Android Git Automerger
Browse files

am 6e1f2357: am e6affb67: am 4489d205: am 55c58d01: am 5fb8a942: Merge "Pass...

am 6e1f2357: am e6affb67: am 4489d205: am 55c58d01: am 5fb8a942: Merge "Pass disconnect reason for failed remote connections" into lmp-dev

* commit '6e1f2357fb09bfae1063755961e02947947165cf':
  Pass disconnect reason for failed remote connections
parents c539813a 44a08f59
Loading
Loading
Loading
Loading
+5 −1
Original line number Diff line number Diff line
@@ -65,7 +65,11 @@ final class RemoteConnectionService {
                        parcel.getCallerDisplayName(),
                        parcel.getCallerDisplayNamePresentation());
                // Set state after handle so that the client can identify the connection.
                if (parcel.getState() == Connection.STATE_DISCONNECTED) {
                    connection.setDisconnected(parcel.getDisconnectCause());
                } else {
                    connection.setState(parcel.getState());
                }
                List<RemoteConnection> conferenceable = new ArrayList<>();
                for (String confId : parcel.getConferenceableConnectionIds()) {
                    if (mConnectionById.containsKey(confId)) {