diff options
author | Adam Lesinski <adamlesinski@google.com> | 2017-06-01 15:22:57 -0700 |
---|---|---|
committer | Adam Lesinski <adamlesinski@google.com> | 2017-06-02 16:51:59 -0700 |
commit | 90919978e7ccf7dc25622e9d039a7e87ebe7ba11 (patch) | |
tree | d11e779893782ffc04c585912813e0e0ff2e1f06 /rs/java/android/renderscript/Script.java | |
parent | 76e76a5c269eab2596dfc72fa229af49be68e870 (diff) |
DO NOT MERGE: AAPT2: Allow undefined resources (placeholders)
A resource defined like so:
<item type="drawable" name="foo" />
should be assigned the value @null.
The only exception is for <string> resources, which are given the
empty string value (since <string></string> is ambiguous). The decision
to use "" is based off the fact that old AAPT used to assign "" to all
undefined resources, even non-string ones.
Bug: 38425050
Test: make aapt2_tests
Change-Id: Ib3e0f6f83d16ddd8b279c9fd44a07a37867b85e9
Diffstat (limited to 'rs/java/android/renderscript/Script.java')
0 files changed, 0 insertions, 0 deletions