summaryrefslogtreecommitdiff
path: root/libs/androidfw/misc.cpp
diff options
context:
space:
mode:
author Paul Lawrence <paullawrence@google.com> 2024-02-28 20:10:39 +0000
committer Paul Lawrence <paullawrence@google.com> 2024-02-28 23:20:42 +0000
commit86b8d5e51a81e370f84a7f61764f4348edd394f7 (patch)
tree7e86581d145a1c9d4f7c4d491bdd53b844d2239c /libs/androidfw/misc.cpp
parent3bd28b5829f1d463b31550ebc500ec0d8874b68d (diff)
Prevent error message on svc power reboot
With the changes to sys.powerctl this variable is no longer set on a power event - the power action is simply carried out. (This is to avoid possible DoS of these power functions.) However, this means that this property can no longer be read to see if a power event is happening. Since there is no longer a way of telling if a remote exception is real or not, best not to print out an error. Note that this bug occurs on some devices, not all. I was able to reproduce it reliably on a Pixel 7a, but not on a Pixel 7 or Cuttlefish. Bug: 318323013 Test: adb shell svc power reboot Change-Id: Icbc1ec1b7882140d4d742b056ea2adaafae67ee9
Diffstat (limited to 'libs/androidfw/misc.cpp')
0 files changed, 0 insertions, 0 deletions