Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 93718d15 authored by Eric Biggers's avatar Eric Biggers
Browse files

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
parent 2a654f1a
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment