summaryrefslogtreecommitdiff
path: root/libs/androidfw/FileStream.cpp
diff options
context:
space:
mode:
author Tiger <tigerhuang@google.com> 2023-05-10 17:58:28 +0800
committer Tiger <tigerhuang@google.com> 2023-05-10 17:58:28 +0800
commitf12b45f33518474142e9510f7556346e821005a2 (patch)
treec403f6b227b39c34d107fb2c77b103fe3bc7ed17 /libs/androidfw/FileStream.cpp
parent706cc5848c07d4ab29b5c5ebbc624df41d19468b (diff)
Refine getIndex and getType of InsetsSource
The methods used "%" to clear higher bits, but it wouldn't work if the integer is negative. This CLs uses "&" to clear bits that we don't want. Fix: 281709596 Test: atest InsetsSourceTest Change-Id: I845926f8b7d784d82b3f020736b478adf9482910
Diffstat (limited to 'libs/androidfw/FileStream.cpp')
0 files changed, 0 insertions, 0 deletions