OSDN Git Service

Add logging and disconnect reason for null connections.
authorTyler Gunn <tgunn@google.com>
Tue, 19 Dec 2017 23:23:59 +0000 (15:23 -0800)
committerTyler Gunn <tgunn@google.com>
Tue, 19 Dec 2017 23:23:59 +0000 (15:23 -0800)
commitfba1a8e61a92c13e431b8b3dd36ecaa6eb500168
tree5b8525fbccdb96bf54fabf9c55fe1e09b22d3e6d
parent29f61c21f4b747b82bd32aed79547d2430ebedf7
Add logging and disconnect reason for null connections.

When a ConnectionService implementation returns a null connection, log this
and also set a unique disconnect reason to indicate in the telecom
dumpsys what happened.

Test: Manual
Bug: 70385625
Change-Id: Iff9846d434d400c4cf036e9ac46167cfb6f6b58c
telecomm/java/android/telecom/ConnectionService.java