diff options
author | zachh <zachh@google.com> | 2018-01-09 17:44:36 -0800 |
---|---|---|
committer | Copybara-Service <copybara-piper@google.com> | 2018-01-09 18:30:15 -0800 |
commit | 73ec1ab52956c658654a40c42f4c59806713b15e (patch) | |
tree | ead07b921b1f204e54fba836f03f392a064d7063 /java/com/android/incallui/InCallPresenter.java | |
parent | 06fee1b28472f1019443c9b63ea9bd8aad9f5757 (diff) |
Changed behavior of failures in DialerFutures#firstMatching.
DialerFutures#firstMatching now fails if one of its provided futures fails before a match is found.
This is to accomodate the case where no source returns true for isDirty, but one or more fail; we want to be notified of the failure in that case and not silently treat that case as not dirty.
Also fixed a bug in NewCallLogFragment where the failed future wasn't causing the application to crash.
Also improved some related logging in RefreshAnnotatedCallLogWorker and Cp2PhoneLookup, and fixed a bug where empty numbers were not being handled correctly.
Bug: 71504246
Test: unit
PiperOrigin-RevId: 181401710
Change-Id: I23e207ac334ff80ac95b08a8f4f775a528a8c511
Diffstat (limited to 'java/com/android/incallui/InCallPresenter.java')
0 files changed, 0 insertions, 0 deletions