summaryrefslogtreecommitdiff
path: root/core/java/android/inputmethodservice/AbstractInputMethodService.java
diff options
context:
space:
mode:
authorKweku Adams <kwekua@google.com>2021-10-26 12:13:28 -0700
committerKweku Adams <kwekua@google.com>2021-10-27 18:22:54 +0000
commit51c1e9d671ef45747078ad969db0dad0d7bd4db9 (patch)
treee8e2635116499ca0d60a0d6a83fae019f931fa10 /core/java/android/inputmethodservice/AbstractInputMethodService.java
parent15b00ade2cb5951416799d9e58e2f1cc575df4d7 (diff)
Start reclaiming assets when circulation is too high.
As the battery level decreases, the current circulation may end up being higher than the scaled maximum circulation. When we get into those cases, we will reclaim some ARCs above app's minimum balance. If the circulation percentage is too high, we will lower all app's minimum balance in order to reclaim more credits. Bug: 158300259 Test: Adjust battery level via `adb shell cmd battery set level <lvl>` and verify reclamations occurred Change-Id: Ie0f91093f9dc98c04c409e18d562323d98a153d2
Diffstat (limited to 'core/java/android/inputmethodservice/AbstractInputMethodService.java')
0 files changed, 0 insertions, 0 deletions