diff options
| author | Rhed Jao <rhedjao@google.com> | 2021-10-13 17:49:36 +0800 |
|---|---|---|
| committer | Rhed Jao <rhedjao@google.com> | 2021-10-19 09:05:11 +0000 |
| commit | dc4d343c3c15716605695e7cd7cf07491af70851 (patch) | |
| tree | ce55ac29f61a697b786da4899930f6d5af428cee /core/java/android/inputmethodservice/AbstractInputMethodService.java | |
| 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
Diffstat (limited to 'core/java/android/inputmethodservice/AbstractInputMethodService.java')
0 files changed, 0 insertions, 0 deletions
