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

Commit bff208af authored by Hui Yu's avatar Hui Yu
Browse files

Change default temp allowlist duration for bluetooth broadcast to 20 seconds.

All bluetooth broadcasts are exempted from BG-FGS-start restriction.

Bug: 187196777
Test: Build and run.
Change-Id: Ifee232de8dbc7badae62e07b638230b9178b7247
parent ce15e81d
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -89,7 +89,7 @@ public final class Utils {
    private static final int MICROS_PER_UNIT = 625;
    private static final String PTS_TEST_MODE_PROPERTY = "persist.bluetooth.pts";
    private static final String KEY_TEMP_ALLOW_LIST_DURATION_MS = "temp_allow_list_duration_ms";
    private static final long DEFAULT_TEMP_ALLOW_LIST_DURATION_MS = 10_000;
    private static final long DEFAULT_TEMP_ALLOW_LIST_DURATION_MS = 20_000;

    static final int BD_ADDR_LEN = 6; // bytes
    static final int BD_UUID_LEN = 16; // bytes