From: Josh Stone Date: Tue, 18 Jan 2011 02:34:11 +0000 (-0800) Subject: aapt: Allow raw "%" in unformatted string-arrays X-Git-Url: https://git.saurik.com/android/aapt.git/commitdiff_plain/bd7f1573aa57c6dcba9efa589054dfccb19a3539?hp=bd7f1573aa57c6dcba9efa589054dfccb19a3539 aapt: Allow raw "%" in unformatted string-arrays Commit 15fe2cb added format checking for translatable strings, enforcing the use of positional args. This check can be disabled on values with translatable="false" or formatted="false". But they didn't check for those attributes on , so some of CM's strings fail when they're not really format strings, just because they contain percent signs. (e.g. brightness widget's "Auto/Dim/40%/100%") So now the formatted/translatable attributes are checked in string-array too, and we can restore our proper percent signs. Change-Id: I3478ab7e0b939e61fe0cec20201ac55096264080 ---