commit | d525657eaf3776b3967c26e954b52493e1678b0a | [log] [tgz] |
---|---|---|
author | Frank Zhang <a21122@motorola.com> | Mon Nov 25 15:54:39 2019 -0600 |
committer | Tyler Gunn <tgunn@google.com> | Wed Apr 08 16:27:15 2020 -0700 |
tree | 6e00a256c0c43036a4dc1ff1a7c944ee9ef66c8b | |
parent | 45916a509a46da016cdd3dc2dba96f9ed3a276e0 [diff] |
Phone process crashes during the stability test. [Description] During a stability test, a NPE was thrown during a call. [Root cause] The method Connection.getAddress() might return null. [Solution] Add safe check before using Connection.getAddress(). Fixes: 153375657 Bug: 145146245 Test: Run Telephony unit tests Change-Id: Ia576bc0958811c8b38697869c594c70b0be0c2f3