commit | d5d4f1d2d969622d1b3fdc3f2dcf82af9ce6f24d | [log] [tgz] |
---|---|---|
author | Ivan Chiang <chiangi@google.com> | Fri Sep 11 10:27:19 2020 +0800 |
committer | Ivan Chiang <chiangi@google.com> | Fri Sep 18 11:49:21 2020 +0000 |
tree | 4f8ab9b5589da8e1c7d60d4ea960dd8acd4f2dc2 | |
parent | 1f0ae1cfd96a0208ccd6fa6fb5a64ff909259419 [diff] |
Add hashcode into album id to distinguish same-named albums To distinguish same-named albums, we append a hash. The hash is based on the "album artist" tag if present, otherwise on the path of the parent directory of the audio file. Test: atest MediaProviderTest Test: atest DatabaseHelperTest Test: atest MediaScannerTest Bug: 167339595 Change-Id: Ib10446f9608ad1ad88267ef5a187cc3a5a785158 Merged-In: Ib10446f9608ad1ad88267ef5a187cc3a5a785158