diff options
author | Josh Stone <cuviper@gmail.com> | 2011-01-17 18:34:11 -0800 |
---|---|---|
committer | Josh Stone <cuviper@gmail.com> | 2011-01-22 21:13:12 -0800 |
commit | bf50322a245c430f3b3a1e7ecc299fe0a939daec (patch) | |
tree | ca114f9d2be8f42e406f404fbcc2eea25c57e16c /graphics/java/android/renderscript/ProgramFragmentFixedFunction.java | |
parent | 35f4d32dc2f0c383323e780ecc7e2764704c5d2c (diff) |
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 <string>
values with translatable="false" or formatted="false". But they didn't
check for those attributes on <string-array>, 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
Diffstat (limited to 'graphics/java/android/renderscript/ProgramFragmentFixedFunction.java')
0 files changed, 0 insertions, 0 deletions