diff options
author | zachh <zachh@google.com> | 2018-02-05 17:46:14 -0800 |
---|---|---|
committer | Copybara-Service <copybara-piper@google.com> | 2018-02-05 19:25:57 -0800 |
commit | 130b616419ea7e63c9a98dc7eacc73ff1add6b3a (patch) | |
tree | a0fe5041cc74a495fa6b18eb71e0c910da461538 /java/com/android/dialer/widget/LockableViewPager.java | |
parent | 1407d25aa8f79e6ff5badc2ed8c234827c762a84 (diff) |
Don't set the "incomplete" bit for empty numbers.
There will never be contact information for an empty number, so don't bother trying to look them up at render time.
This also prevents a crash in the new voicemail fragment that occurs due to an assertion that voicemail rows will never be incomplete, when it may be possible for a voicemail to exist with an empty number.
Also, don't set short numbers in VoicemailPopulator, since we don't expect this to be possible and would like to avoid crashing in the aforementioned assertion when using simulator.
Test: unit
PiperOrigin-RevId: 184615402
Change-Id: I5286112b57179e002f04de81c04475f30b3e1833
Diffstat (limited to 'java/com/android/dialer/widget/LockableViewPager.java')
0 files changed, 0 insertions, 0 deletions