Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit 6dd71222 authored by Songchun Fan's avatar Songchun Fan Committed by Song Chun Fan
Browse files

[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
parent 9da1aaeb
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment