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
Loading
Please register or sign in to comment