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

Commit a8bde6f8 authored by Rahul Arya's avatar Rahul Arya
Browse files

Fix init flags restart timer

ms, not s

Change-Id: Ia532650bae6d20da67ea1b3cc8fb9b3217fc2e7d
Test: pushing flags while listening to music, then verifying the delay is correct
Bug: 263262734
parent 44013896
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -149,7 +149,7 @@ public class BluetoothManagerService extends IBluetoothManager.Stub {
    // Delay for retrying enable and disable in msec
    private static final int ENABLE_DISABLE_DELAY_MS = 300;
    private static final int DELAY_BEFORE_RESTART_DUE_TO_INIT_FLAGS_CHANGED_MS = 300;
    private static final int DELAY_FOR_RETRY_INIT_FLAG_CHECK_MS = 86400;
    private static final int DELAY_FOR_RETRY_INIT_FLAG_CHECK_MS = 86400000;

    private static final int MESSAGE_ENABLE = 1;
    private static final int MESSAGE_DISABLE = 2;