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

Commit 2939790b authored by Jayden Kim's avatar Jayden Kim
Browse files

Increase the timeout for energy info update to ensure reception

Bug: 329224651
Test: atest BluetoothInstrumentationTests
Flag: EXEMPT, apply reasonable timeout used for all other networks

Change-Id: I139f07c68349dde8d8bbb5d6682eb1e01b0b8abb
parent 0551cac0
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -189,7 +189,7 @@ public class AdapterService extends Service {
    private static final int MESSAGE_PROFILE_SERVICE_UNREGISTERED = 3;
    private static final int MESSAGE_PREFERRED_AUDIO_PROFILES_AUDIO_FRAMEWORK_TIMEOUT = 4;

    private static final int CONTROLLER_ENERGY_UPDATE_TIMEOUT_MILLIS = 30;
    private static final int CONTROLLER_ENERGY_UPDATE_TIMEOUT_MILLIS = 100;
    private static final int MIN_ADVT_INSTANCES_FOR_MA = 5;
    private static final int MIN_OFFLOADED_FILTERS = 10;
    private static final int MIN_OFFLOADED_SCAN_STORAGE_BYTES = 1024;