summaryrefslogtreecommitdiff
path: root/tools/aapt2/java/JavaClassGenerator_test.cpp
diff options
context:
space:
mode:
authorDeepanshu Gupta <deepanshu@google.com>2014-09-25 15:42:15 -0700
committerDeepanshu Gupta <deepanshu@google.com>2014-09-25 22:59:58 +0000
commit27d3b9264e2dcfb86400a60891a5e39cdf027d55 (patch)
tree5bf55b97ddf80dbfc49072afbdbbbf4ed6e23dea /tools/aapt2/java/JavaClassGenerator_test.cpp
parentd181ffe6881d0a1b49193b5f70dac0cc7cc9aae3 (diff)
Fix error when using list as actionBarNavMode. [DO NOT MERGE]
A bug in the framework leads to the wrong argument being passed to defStyleRes when obtaining styled attributes. The framework however just ignores the attribute in such a case. LayoutLib logs an error to help developers find bugs in their code. The bug was seen when using list as the actionBarNavMode. This change ignores the attribute if it detects that it's the framework bug. Also, we change the error to a warning. Change-Id: I58e1fe4469de0329a27b577d75c0a59c48d0381b
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator_test.cpp')
0 files changed, 0 insertions, 0 deletions