summaryrefslogtreecommitdiff
path: root/core/java/android/util/SparseSetArray.java
diff options
context:
space:
mode:
authorSongchun Fan <schfan@google.com>2022-02-09 01:37:21 +0000
committerSongchun Fan <schfan@google.com>2022-02-13 20:18:05 +0000
commit0a7550ba5542f569e328bae93ff2b931cd65160e (patch)
treedecfc1f73940eb276194e215acafd2709b4f2d5b /core/java/android/util/SparseSetArray.java
parentdb33f67f8ddbfb29acbe6fb57763cc2f029ec83b (diff)
[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
Diffstat (limited to 'core/java/android/util/SparseSetArray.java')
0 files changed, 0 insertions, 0 deletions