diff options
author | Hugo Benichi <hugobenichi@google.com> | 2016-10-13 09:26:01 +0900 |
---|---|---|
committer | Hugo Benichi <hugobenichi@google.com> | 2017-01-23 14:49:16 +0900 |
commit | c81837495dab95295f81b8d6492df3231612e369 (patch) | |
tree | 3111926ccb383782fc6b46016ed0ddee3ade4429 /tools/aapt2/diff/Diff.cpp | |
parent | c0793c3d4da861cf1d56828d2792a198dd5b9993 (diff) |
DO NOT MERGE ApfFilter: systematically use u8, u16, u32 getters
This patch adds a getUint8 getter for ByteBuffers and changes ApfFilter
to make uses of getUint8/16/32 everywhere.
The return types of getUint16 is also changed from long to int, which
will expand gracefully to long as an unsigned int as it is guaranteed to
be positive after getUint16.
Test: ApfTest passes
(cherry picked from commit 995dd94673005b43d32456e2de5fda0090b23576)
Change-Id: Idde3c9d03d39fbdf6f9b84d398f3fe8ea371483d
Diffstat (limited to 'tools/aapt2/diff/Diff.cpp')
0 files changed, 0 insertions, 0 deletions