diff options
| author | 2023-12-12 11:52:51 -0800 | |
|---|---|---|
| committer | 2023-12-14 00:29:39 +0000 | |
| commit | abf0df957090542a07fa3bed1bbc347ae632e6cf (patch) | |
| tree | c1759b7a2b54517ac4b5a59a414ef15a8b46b038 /libs/androidfw/StringPool.cpp | |
| parent | 44a32ba6fafed543299a9d0864b974d67f41c9f8 (diff) | |
Support -f option for Current shell command
We've had historically added "-f" as a valid shell command option for
the battery service dumpsys get commands. However, with the current
state of the code, using -f with "get" results in an error.
In an attempt to both fix this error, and to support up-to-date
current-value fetching, we're
[1] Supporting the inclusion of -f option in "get" commands
[2] When -f is used, we schedule update with the health service before
fetching the current value, to help get the latest current value
Bug: 315037695
Test: adb shell dumpsys battery get -f current_now
Change-Id: I8ef1c420005d505b36869b6cea4de095a47e4993
Diffstat (limited to 'libs/androidfw/StringPool.cpp')
0 files changed, 0 insertions, 0 deletions