commit | dfa5e0705ff82f15e228ba076bc192893bcbe118 | [log] [tgz] |
---|---|---|
author | Adam Lesinski <adamlesinski@google.com> | Tue May 12 21:42:59 2015 -0700 |
committer | Adam Lesinski <adamlesinski@google.com> | Tue May 12 21:56:43 2015 -0700 |
tree | 10dbca8e4feeefc96019fcab8fa08c7943b8c97e | |
parent | d13fb249865703901b77f48c5fed1864f06e1c63 [diff] |
AAPT2: Fix issue where @null was wrongly encoded @null must be encoded as TYPE_REFERENCE with a value of 0. TYPE_NULL is used by the runtime as a placeholder when resolving style attributes. If we set a style attribute to TYPE_NULL, the runtime will throw. The runtime will convert a TYPE_REFERENCE with value 0 to a proper null value. Change-Id: Id983ca7e1fbee3124dddafe32f1b5741b824225b