Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit 248c80b1 authored by Hsin-chen Chuang's avatar Hsin-chen Chuang
Browse files

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
parent d55051e6
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment