commit | ea55417de7f3c1f670527e171dc6b0036c7cc74a | [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:48:27 2020 +0000 |
tree | e230e2e9d33e8ffd68a7ac20708fd0f8cd8a04ab | |
parent | 1e4f5a654c717c89a3f8cdc48ae76664e9de27d7 [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