summaryrefslogtreecommitdiff
path: root/packages/Shell/src
diff options
context:
space:
mode:
author Lee Shombert <shombert@google.com> 2023-05-19 15:52:00 -0700
committer Cherrypicker Worker <android-build-cherrypicker-worker@google.com> 2023-05-25 22:57:29 +0000
commitc7e1590ea236576e5ae2ed1e1bcc14756c3363f2 (patch)
treebdf5273b91e474c883d0f6eaf47fbb4d812e9a96 /packages/Shell/src
parenteda2b8b05959230495f177bc6fcd01e029b46d3d (diff)
Remove unnecessary padding code
Bug: 213170822 Remove the code that CursorWindow::writeToParcel() uses to ensure slot data is 4-byte aligned. Because mAllocOffset and mSlotsOffset are already 4-byte aligned, the alignment step here is unnecessary. CursorWindow::spaceInUse() returns the total space used. The tests verify that the total space used is always a multiple of 4 bytes. Test: atest * libandroidfw_tests (cherry picked from https://googleplex-android-review.googlesource.com/q/commit:5d4afa0986cbc440f458b4b8db05fd176ef3e6d2) Merged-In: I720699093d5c5a584283e5b76851938f449ffa21 Change-Id: I720699093d5c5a584283e5b76851938f449ffa21
Diffstat (limited to 'packages/Shell/src')
0 files changed, 0 insertions, 0 deletions