commit | 8cb3e6aac93147287bcb9fa41a284b1745d47c75 | [log] [tgz] |
---|---|---|
author | Songchun Fan <schfan@google.com> | Tue Mar 22 22:29:25 2022 +0000 |
committer | Songchun Fan <schfan@google.com> | Mon Mar 28 23:57:08 2022 +0000 |
tree | 97326af227099970bce0ec89e387ff473b3ca882 | |
parent | 95387ac862c4c4f4a0eae942cdd95120cf1ebba6 [diff] |
[AppsFilter] read-only interface for snapshots Provides a read-only interface that is used by computer and snapshots. It fixes the data conflicts when AppsFilter is changed while a snapshot is taken. This requires a watchable class for SparseSetArray. Test: atest AppsFilterTest Test: atest com.android.server.utils.WatcherTest Test: m RUN_ERROR_PRONE=true framework services.core |& grep AppsFilter BUG: 218411030 Change-Id: Ib9d13537b6cec911b2a189aea828e9baec650585