diff options
| author | 2022-10-05 18:30:51 -0700 | |
|---|---|---|
| committer | 2022-10-06 12:58:54 -0700 | |
| commit | be40990e582a0ef43bb8d22abeed4a0a70d6cd9c (patch) | |
| tree | 39f20ac1e59a8c033b490d2aabda4e5c09d16fcb /libs/androidfw/StringPool.cpp | |
| parent | 78fe6e71c228c4f1ebe6a249504fc458394a00e5 (diff) | |
Rate limit BatteryStats' ModemActivityInfo querying
Frequent mobile radio power state changes results in frequent
ModemActivityInfo queries. To limit the unnecessary churn, a Modem
update due to mobile radio power state change will only occur some
amount of time after the previous update. Modem updates due to other
signals (plug/unplug events, battery percent change, etc) will be
unaffected.
Bug: 239715259
Test: atest BatteryStatsNoteTest
Change-Id: Ie0af28dbc2ad4836ef6437c0656dc20eec2285ea
Diffstat (limited to 'libs/androidfw/StringPool.cpp')
0 files changed, 0 insertions, 0 deletions