summaryrefslogtreecommitdiff
path: root/tools/aapt2/java/JavaClassGenerator_test.cpp
diff options
context:
space:
mode:
authorDaichi Hirono <hirono@google.com>2016-02-29 17:28:47 +0900
committerDaichi Hirono <hirono@google.com>2016-03-01 16:49:08 +0900
commit486ad2e73c1c24c0585d414b18bd623c54ac1547 (patch)
treef3a2198ee7591e96fa21c3707d901f27199db5f9 /tools/aapt2/java/JavaClassGenerator_test.cpp
parent52cdc1593aab9336ad06cfe54cd06ca42ab3837e (diff)
Fix argument type in MtpDatabase#getObjectPropertyValue.
In MTP code, we use jint for ID (e.g. object handle) and code (property code). But getObjectPropertyValue takes jlong and it causes missing property values in Java code. Previously we passed the long value to Map<Integer, MtpPropertyGroup>#get(Integer) and the compiler somehow accepted the code. However it actually takes Long at runtime, so the properties are never found. BUG=26437284 Change-Id: I79defd325ea5d20c4dce84d891d984e24abcacc5
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator_test.cpp')
0 files changed, 0 insertions, 0 deletions