diff options
author | Daichi Hirono <hirono@google.com> | 2016-03-24 21:07:38 +0900 |
---|---|---|
committer | Daichi Hirono <hirono@google.com> | 2016-03-28 13:34:03 +0900 |
commit | 64111e08d905525c7f4fe27e69953eb71bd62511 (patch) | |
tree | e1ffe9c4ba5a31829e7c69076db90c79012d8c27 /tools/aapt2/java/JavaClassGenerator_test.cpp | |
parent | 787821bce4a07f9b9434180210bf99e6bd2639c9 (diff) |
Get object size that is more than 4GB.
MtpObjectInfo contains object size as 32-bit integer and the provider
needs to invoke MtpDevice#getObjectSizeLong hidden API to get 64-bit
object size.
The CL switches to use MtpDevice#getObjectSizeLong hidden API if
MtpObjectInfo#getCompressedSize() returns 0xffffffffL, which means the
object size is more than 4GB.
BUG=27805369
Change-Id: I87ea02c09aa784246cf016def309d1f39ed20e90
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator_test.cpp')
0 files changed, 0 insertions, 0 deletions