diff options
author | Nathalie Le Clair <lcnathalie@google.com> | 2021-05-03 17:21:49 +0200 |
---|---|---|
committer | Nathalie Le Clair <lcnathalie@google.com> | 2021-05-04 10:05:18 +0200 |
commit | ab9bdf0f9cee03b363dbd04486d857f2ce0bd4da (patch) | |
tree | 723140abb819fe67f962c19879e70bf2014a6e48 /tools/aapt2/java/JavaClassGenerator_test.cpp | |
parent | 1d92fd8123416adb447db3082431617c544de547 (diff) |
Remove actions that delay standby flow
Before this change: disableDevice() gives all actions 5 seconds to finish, before removing the remaining actions and disabling the device. Since OneTouchPlayAction has many retries, it will easily run into this time-out and effectively delay the standby flow by up to 5 seconds.
After this change: disableDevice() removes OneTouchPlayAction and
DevicePowerStatusAction right away, since these actions are no longer useful at this time.
Applies to all source devices, since those can initiate both actions.
Bug: 184939731
Test: atest
Change-Id: Iba5c5212f2c55a2507298e3773d22e1e17142fd0
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator_test.cpp')
0 files changed, 0 insertions, 0 deletions