cec: resolve HdmiCecTvPowerToggleTest issue [1/1]

PD#SWPL-105252
BUG=269812391

Problem:
PendingActionClearedCallback in disableDevice could be
called after the local device is initiated.

Solution:
Clear the running actions and call the cleared callback
directly in disableDevice method.

Verify:
sc2

Change-Id: I83d292dea4318f6978039076e2b8d302deb2e5f4
Signed-off-by: an.xi <an.xi@amlogic.com>
2 files changed