commit | 2f38c65ba17d94b187591ed917a2dfe3bbc3b772 | [log] [tgz] |
---|---|---|
author | zachh <zachh@google.com> | Wed Nov 01 17:23:24 2017 -0700 |
committer | zachh <zachh@google.com> | Fri Nov 10 23:41:09 2017 +0000 |
tree | 3f676b2aafe35d58ffdd86e45258cbf4eaeb7e84 | |
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