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

Skip to content
Commit 2ecb9971 authored by Yun-Hao Chung's avatar Yun-Hao Chung
Browse files

Floss: Remove delay to register callback in non-interactive mode

Only introduce delay on interactive mode. This is because we expect the
user to ensure the adapter interface is ready when they issue the
command in non-interactive mode. Otherwise, there will always have 1
second delay and in most of the case it is not needed.

Bug: 368387445
Tag: #floss
Test: mmm packages/modules/Bluetooth
Test: btclient --command "media info" and observe no delay
Test: btclient adapter enable in interactive mode and observe a delay
Flag: EXEMPT, Floss-only changes

Change-Id: Ica0d9146c1947c3cd9236b5d2541d8fc8c9bf3d8
parent 535a6b8f
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