summaryrefslogtreecommitdiff
path: root/libs/androidfw/StringPool.cpp
diff options
context:
space:
mode:
author Songchun Fan <schfan@google.com> 2023-08-04 15:01:36 -0700
committer Song Chun Fan <schfan@google.com> 2023-08-08 14:27:25 +0000
commit6dd712228c40b2c39d1d93ffbafbe4a4daef67dc (patch)
treecaca23914fa01ab2f5fe016a017196bf95ec7640 /libs/androidfw/StringPool.cpp
parent9da1aaeb79c64352a2f1b7ff5e72af0dbaa7f122 (diff)
[pm] use bitset to store boolean data in ps
Use a bitset integer instead of multiple booleans to save memory. Also removes PackageStateImpl which is no longer used after ag/17160541 as we now directly use the snapshot of PackageSetting instead of making a copy of it using PackageStateImpl. Test: atest com.android.server.pm.test.pkg.PackageStateTest BUG: 288142708 Change-Id: Id0dc3c740cf34ef5c694c07cae7fabca05a22764
Diffstat (limited to 'libs/androidfw/StringPool.cpp')
0 files changed, 0 insertions, 0 deletions