From: Robert Greenwalt Date: Mon, 31 Aug 2009 21:48:20 +0000 (-0700) Subject: Fix replacement-after-add of resource files in overlay. X-Git-Url: https://git.saurik.com/android/aapt.git/commitdiff_plain/21c5c61adf6057d794d60b3623af4506bcc182e6?hp=21c5c61adf6057d794d60b3623af4506bcc182e6 Fix replacement-after-add of resource files in overlay. Aapt was adding/removing elements from a list an continuing to use a stale copy for future indexes. This could cause incorrect subsequent processing. Add an en resource and modify an es, for example. Adding the en would cause the base fileset's es version to be moved in the list. Using the old index we'd then attempt to remove the old es version with the wrong index and then add the new es version generating a "duplicate file" error. bug: 2090015 ---