commit | dc4d343c3c15716605695e7cd7cf07491af70851 | [log] [tgz] |
---|---|---|
author | Rhed Jao <rhedjao@google.com> | Wed Oct 13 17:49:36 2021 +0800 |
committer | Rhed Jao <rhedjao@google.com> | Tue Oct 19 09:05:11 2021 +0000 |
tree | ce55ac29f61a697b786da4899930f6d5af428cee | |
parent | 72e972d5c2eb02d1d1ade4a03b6d6e23780836b5 [diff] |
Add setCapacity and removeRange to WatchedSparseBooleanMatrix - This CL adds #setCapacity and #removeRange APIs to WatchedSparseBooleanMatrix for AppsFilter to update filter cache more efficiently when a user is created or deleted. - Fix a crash in the #pack function when the caller invokes #compat to shrink the matrix. Test: atest WatcherTest Bug: 187853334 Change-Id: I6a3c87a7492793767f888487381182955d564d62