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

Commit 1514ea44 authored by William Escande's avatar William Escande
Browse files

Disable message to restart the stack when flag is pushed

This is a short term fix while a better solution is developped

Test: build
Bug: 265386284
Change-Id: I1a09b6709526452e796c503caa4b3295e2a9d589
parent 1a868267
Loading
Loading
Loading
Loading
+1 −4
Original line number Diff line number Diff line
@@ -335,10 +335,7 @@ public class BluetoothManagerService extends IBluetoothManager.Stub {

    @VisibleForTesting
    public void onInitFlagsChanged() {
        mHandler.removeMessages(MESSAGE_INIT_FLAGS_CHANGED);
        mHandler.sendEmptyMessageDelayed(
                MESSAGE_INIT_FLAGS_CHANGED,
                DELAY_BEFORE_RESTART_DUE_TO_INIT_FLAGS_CHANGED_MS);
        // TODO(b/265386284)
    }

    public boolean onFactoryReset(AttributionSource attributionSource) {