summaryrefslogtreecommitdiff
path: root/java/com/android/dialer/calllog/CallLogConfig.java
diff options
context:
space:
mode:
authortwyen <twyen@google.com>2018-03-19 14:47:28 -0700
committerCopybara-Service <copybara-piper@google.com>2018-03-19 15:22:34 -0700
commite931c12468e5558b1516f6eaea154d4844040a79 (patch)
tree8475b4a61d7d637dd3aa41f258e29d4e1e4f5f49 /java/com/android/dialer/calllog/CallLogConfig.java
parent6f80c367c2579fc6829fc68bed9b5c8d220709b6 (diff)
Check null for getPhoneAccount()
A phone account can be removed after calling getCallCapablePhoneAccounts(), so subsequent getPhoneAccount() can be null. Other usages already has the null check. Bug: 75598828 Test: N/A testing this involves getPhoneAccount() returning null on the nth call, which requires replacing the shadows with a mock and is highly coupled with the implementation. The is an edge case and is not worth the effort and brittleness it will cause. PiperOrigin-RevId: 189644833 Change-Id: Ie92dda2537befb5936ad734954b4eaf75964f465
Diffstat (limited to 'java/com/android/dialer/calllog/CallLogConfig.java')
0 files changed, 0 insertions, 0 deletions