floss: btmanagerd: Set timeout for HciDevicePresence action
HciDevicePresence may trigger BT start. In that case, inherit the state
and action from action_start_bluetooth.
This also fix a issue that we wrongly log the "TurningOn" info if we
receive Start on On/TurningOff states.
Bug: 307880495
Tag: #floss
Test: mmm packages/modules/Bluetooth
Test: btclient -c 'adapter enable'; stop btmanagerd; killall btadapterd;
# Let /etc/init/btadapterd.conf always fail
start btmanagerd;
# Observed retries according to bluetooth.log
Change-Id: I1d0b81a8664992c3920179cf14f7c90cb55702c3
Loading
Please register or sign in to comment