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

Skip to content
Commit 0a7550ba authored by Songchun Fan's avatar Songchun Fan
Browse files

[pm] use snapshot instead of deep-copy of PackageUserState

When a snapshot of PackageSetting is requested, use the snapshot of
PackageUserStateImpl in the copy constructor of PackageSetting.
Otherwise, directly use the reference to avoid the overhead of deep
copying.

BUG: 218337678
Test: manual
Change-Id: I8f6b8bfbb5066c1b3ea604178c923725636eb1b3
parent db33f67f
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment