diff options
author | zachh <zachh@google.com> | 2017-11-01 17:23:24 -0700 |
---|---|---|
committer | zachh <zachh@google.com> | 2017-11-10 23:41:09 +0000 |
commit | 2f38c65ba17d94b187591ed917a2dfe3bbc3b772 (patch) | |
tree | 3f676b2aafe35d58ffdd86e45258cbf4eaeb7e84 /java/com/android/incallui/incall | |
parent | 711512175cb047b5ea7c9b15013f3b1fc5c2cae7 (diff) |
Implemented CompositePhoneLookup#isDirty.
IsDirty is implemented by (possibly in parallel) executing all child lookups, and completing as soon as the first lookup reports itself as dirty, cancelling other lookups upon completion.
If a lookup fails for some reason, it is treated as not being dirty.
This required adding a new method DialerFutures#firstMatching.
Bug: 34672501
Test: yes
PiperOrigin-RevId: 174261470
Change-Id: Icb4f7b5d9926094fc446542411d15d02a4b873a3
Diffstat (limited to 'java/com/android/incallui/incall')
0 files changed, 0 insertions, 0 deletions