commit | 1e8b9618ef8dd9981fa21e554b4effa764c516d8 | [log] [tgz] |
---|---|---|
author | Bryce Lee <brycelee@google.com> | Fri Jan 28 14:35:02 2022 -0800 |
committer | brycelee <brycelee@google.com> | Sat Jan 29 01:59:03 2022 +0000 |
tree | 929fdc8748e6ef0abfc012139a7f9d4fb80c78cf | |
parent | 32c231ec193dabd683f46087e3b47adbb4f625c9 [diff] |
Prune unavailable complications. This changelist checks the availability of a complication based on its required available complication types and trims ineligible complications from participating at the LiveData level. By default, the DreamOverlayStateController now only returns available complications. Bug: 214039870 Test: atest DreamOverlayStateControllerTest ComplicationCollectionLiveDataTest Change-Id: If1fa63b46e409dce944b6e0ae54d80c2c44f7024