commit | 9b2a5538cd7ee9643a652aa2e0bd1979826bfee9 | [log] [tgz] |
---|---|---|
author | Joshua Brown <keyboardr@google.com> | Thu Aug 16 16:41:06 2018 -0700 |
committer | Joshua Brown <keyboardr@google.com> | Fri Aug 17 13:54:26 2018 -0700 |
tree | c075b2498681afdfae5567c31e725aa3908bc524 | |
parent | dd7123639f046ef1ec392a4fb02637d9a4a7f537 [diff] |
Ensure CombinedInfo always represents a consistent state. Prior to this change, a MediaController change would cause momentary inconsistencies in the dependencies of the CombinedInfo LiveData. This change fetches the values directly while still being updated whenever those values change. Bug: 112702750 Test: PlaybackViewModelTest Change-Id: I169ffef1e635a976be47fa1b6b543993bde38de2