commit | 7c9635a25cd8bc6aafd7f10fa23dc8da24e20963 | [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 19:41:46 2020 +0800 |
tree | cba35b63c1bff39237ad31a2a2ece722e52bd27b | |
parent | be4bce3a44a850db5740bf2095aa8bf1d4195047 [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