diff options
author | 2024-08-29 19:13:14 +0100 | |
---|---|---|
committer | 2024-08-30 15:41:55 +0100 | |
commit | 5739cf09cbd742f9de76342eccf8a571e5a61466 (patch) | |
tree | 43625afc5e5ccdd6481a3fb07125e7e04a532f6c /libs/input/SpriteController.cpp | |
parent | 14071194218e9ed59b13e00d549a85c44fb9fd68 (diff) |
Don't retry starting the artd_pre_reboot service.
`waitForService` uses an infinite loop to wait for the service. If the
service cannot start or register itself, the method will loop forever.
This is not suitable for artd_pre_reboot because it's a service from the
new system image, which is expected to fail if there is any
incompatibility.
This CL replaces the `waitForService` call with a `ctl.start` command
and a 5s wait.
Bug: 356858364
Test: adb shell pm art pr-dexopt-job --run
Change-Id: Id48f1c8f86c3c44e0a5524c35c91c470902b9468
Diffstat (limited to 'libs/input/SpriteController.cpp')
0 files changed, 0 insertions, 0 deletions