+126
−0
+180
−0
Loading
Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more
This patch adds a TokenBucket class that can accumulate and distribute tokens over time. Test: comes with unit tests. Bug: 32198637 (cherry picked from commit 998493f0) Change-Id: Iaf477c7bb14f8ddb293b7a907e2ab0cf76d09e07