summaryrefslogtreecommitdiff
path: root/tools/aapt2/java/JavaClassGenerator_test.cpp
diff options
context:
space:
mode:
authorDeepanshu Gupta <deepanshu@google.com>2015-05-22 15:47:16 -0700
committerDeepanshu Gupta <deepanshu@google.com>2015-08-25 12:06:45 -0700
commitba5a02c5aa3c9850cdd72e592e9fa8a8d92db7ef (patch)
treeb849feba9de6e12ec41a0fe98a9d16c07dc8c529 /tools/aapt2/java/JavaClassGenerator_test.cpp
parenta5ffed0b69ac41d65aacc6ee586688a22226f64b (diff)
LayoutLib: Support getting resource arrays. [DO NOT MERGE]
- Don't crash when Resources.get<Type>Array() is called. - If the IDE supports it, actually return the value. - Add tests for getArray. - Update test app to latest gradle plugin version. - Switch to using AppTheme for tests, since the tests depend on some custom theme attributes. The AppTheme now inherits from Material.Light.DarkActionBar, so other tests should be unaffected. Depends on a newer version of sdk-common, which fixes the parsing of array resource in value files. Bug: 12372031 Change-Id: I313b61511e98ac1402d75056ebfdeeb005ebb96d (cherry picked from commit 642cff50f8f7a67eed09eac1e56d7133b26a192c)
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator_test.cpp')
0 files changed, 0 insertions, 0 deletions