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

Skip to content
Commit 016432dc authored by Hsin-chen Chuang's avatar Hsin-chen Chuang
Browse files

floss: Don't set the AdapterDiscoverableTimeout property

After https://r.android.com/3256460, we always set_discoverable when
powering off. This sets the AdapterDiscoverableTimeout property and
makes it always necessary to write the config onto the disk, causing the
"Stopping Module Storage Module timeout" issue again.

All that LibBluetooth does for the AdapterDiscoverableTimeout property
is writing it to the disk, and the real timeout handling is actually
done by the Rust layer.

Since Floss doesn't need this property to persist across power cycle,
NOT setting the property is safe and doesn't make anything functionality
change.

Bug: 310147428
Tag: #floss
Test: mmm packages/modules/Bluetooth
Test: Toggle BT, SaveImmediately is not called
Flag: EXEMPT, Floss-only changes
Change-Id: I3ea064b73a175e063ff89d059889d1fb404f9553
parent 38d157f4
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