Artists and Albums views only show files marked with is_music.
Audio and genres views still show everything. The is_music filter was
lost in ag/9524306. Intentional at the time, but looking at the reports
bugs we got, it makes sense to bring this filter back.
Also changed these assertions to Truth assertions, since they are easier
to read.
Test: atest MediaProviderTests; the Youtube Music repro steps from
b/161924520.
Bug: 162192338, 161924520
Change-Id: I7160b54df732650b46512ea1db3c473e3cd84053
(cherry picked from commit 545105d0712388657ea9c9a9cc3c9d85c260bf8f)
2 files changed