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

Skip to content
Commit f811ee04 authored by Amith Yamasani's avatar Amith Yamasani
Browse files

Introduce RateLimitingCache helper class

It allows rate-limiting of AIDL calls that return a value that doesn't
change often and can be cached for retrieval if the caller makes too
many calls in close succession. Use for API calls that don't have
side-effects on the other end of the AIDL.

Bug: 345299715
Test: atest RateLimitingCacheTest
Flag: EXEMPT bugfix

Change-Id: I7703379183a993f7aa58270cce3d9c5c1b839978
parent 6a3e6b1a
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