diff options
| author | 2023-05-10 17:58:28 +0800 | |
|---|---|---|
| committer | 2023-05-10 17:58:28 +0800 | |
| commit | f12b45f33518474142e9510f7556346e821005a2 (patch) | |
| tree | c403f6b227b39c34d107fb2c77b103fe3bc7ed17 /libs/androidfw/FileStream.cpp | |
| parent | 706cc5848c07d4ab29b5c5ebbc624df41d19468b (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