diff options
| author | 2024-11-01 16:36:16 +0000 | |
|---|---|---|
| committer | 2024-11-01 16:37:32 +0000 | |
| commit | 93718d155ba8e33513a4f287327874601b3077a1 (patch) | |
| tree | 7f55bb063db69f03bf885b6b4752894a394e8ddc /libs/androidfw/AssetsProvider.cpp | |
| parent | 2a654f1aacdb74e714629ed9eb7c58fdf19ca9a9 (diff) | |
Prevent GC requests from piling up in LockSettingsService
Don't allow an unbounded number of GC requests to be enqueued if
lockscreen credential operations are happening very quickly.
Test: 'atest FrameworksServicesTests:com.android.server.locksettings'
and checked log. No longer see any messages that say
"WaitForGcToComplete blocked Explicit on Explicit". Note, even
before this CL only a few such messages appeared with that atest
command, but apparently it could happen more often in some cases.
Bug: 367713409
Flag: EXEMPT bugfix
Change-Id: I598116754210aa75265a9262e7b63937e2b836c2
Diffstat (limited to 'libs/androidfw/AssetsProvider.cpp')
0 files changed, 0 insertions, 0 deletions