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

Commit 9b50b2b2 authored by Cosmin Băieș's avatar Cosmin Băieș
Browse files

Track ImeTrackerService active capacity

This adds a maximum capacity for the number of simultaneously active
requests in ImeTrackerService. When this capacity is reached, updates
for currently active requests are allowed, however no new entries can be
created to start new active requests, until the capacity clears. This
will protect against too many repeated requests in a short time frame.

This also increases the maximum capacity for completed entries, such
that we can track a slightly longer history. This also helps in
verifying against updates on already completed tokens.

Flag: EXEMPT bugfix
Test: atest ImeTrackerServiceTest#testCannotCreateWhenActiveFull
Bug: 342111149
Change-Id: I83d1f7af540d61cc73410b667d6f97733a16f5c8
parent 4208d046
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