OSDN Git Service

Fix potential NPE in telephony registry dumpsys.
authorTyler Gunn <tgunn@google.com>
Mon, 25 Mar 2019 14:26:33 +0000 (07:26 -0700)
committerTyler Gunn <tgunn@google.com>
Mon, 25 Mar 2019 14:26:33 +0000 (07:26 -0700)
commitf3f89d0c2b311d1369a3c986b97e2f3e87bd35fc
treeae99a888a75ac2b3ad25894c775eb0aa1d898d1d
parent09426de69dc14984fc112a123138d16a602292f8
Fix potential NPE in telephony registry dumpsys.

There is no guarantee that mImsCallDisconnectCause will be non-null, so
we should not be calling toString here.

Test: Compile/build
Fixes: 129251351
Change-Id: I8b983ce8fa7f5316bc474ffbd67052ae0df4d75d
services/core/java/com/android/server/TelephonyRegistry.java