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

Commit eebbe5c3 authored by weichinweng's avatar weichinweng Committed by Weichin Weng
Browse files

Fix bluetooth can't turn off during network reset (1/3)

Remove disable Bluetooth action from AdapterService and move to
BluetoothManagerService.

Bug: 110181479
Test: manual
Change-Id: Iaaa82675f072406970afc97ebe754b29f28d9490
parent 1d9750b6
Loading
Loading
Loading
Loading
+0 −1
Original line number Diff line number Diff line
@@ -1899,7 +1899,6 @@ public class AdapterService extends Service {

            enforceBluetoothPrivilegedPermission(service);

            service.disable();
            if (service.mDatabaseManager != null) {
                service.mDatabaseManager.factoryReset();
            }