OSDN Git Service

[DO NOT MERGE] Check CellInfoCallback Detail for Null
authorNathan Harold <nharold@google.com>
Tue, 15 Oct 2019 18:28:00 +0000 (11:28 -0700)
committerNathan Harold <nharold@google.com>
Tue, 15 Oct 2019 19:49:37 +0000 (12:49 -0700)
commitfff052067c1926bd0e5ef5f852d4adba5333934d
tree7e62168228d3c04bf87a7d3b9954dd03f3a5b1ca
parent5491eb92fc9497c3688c0d2b13effd06c6f175e4
[DO NOT MERGE] Check CellInfoCallback Detail for Null

In cases where the source of the CellInfo fails
but does not generate a Throwable, the detail info
will not be provided and should be null. Inside the
user process, we need to check for null before
dereferencing the detail object. Oops. :-(

Bug: 142706765
Bug: 142421696
Test: manual
Change-Id: I1307d1d7aacef0bbd33bfc73700ee774e12e64c1
telephony/java/android/telephony/TelephonyManager.java