commit | b2bac12ce882fe1402aa06f395cfc867367c07be | [log] [tgz] |
---|---|---|
author | Mohamed Heikal <mheikal@google.com> | Wed Jul 17 17:47:17 2019 -0400 |
committer | Mohamed Heikal <mheikal@google.com> | Tue Jul 30 15:52:38 2019 -0400 |
tree | 365301a1a8ad746e066f675227c3ffc4c8ec109d | |
parent | c7487391b0870e59a5c9d44d8e479bb55984ac5f [diff] |
ResourcePathShortener deterministically handles hash collisions ResourcePathShortener appends one digit at the end of colliding short file names to disambiguate them. This cl sorts the list of file paths so that colliding files always get the same disambiguating digit from one run to the next rather than possibly alternating. Test: make aapt2_tests Change-Id: I983a1448c21f2c79d7cdb1de232e7758c04fc256