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

Commit 9abb48ca authored by Charlie Boutier's avatar Charlie Boutier
Browse files

Pandora: Increase OPP timeout

Increase device discovery timeout from 20 to
40 secondes.

Locally the device is discovered in about 15s.

Bug: 288352414
Test: atest OPP
Change-Id: I745241592c70b3f1d40b509eb4c11794bde34f8e
parent 3374377f
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -60,8 +60,8 @@ class AndroidInternal(val context: Context) : AndroidImplBase(), Closeable {

    // PTS does not configure the Extended Inquiry Response with the
    // device name; the device will be found after the Inquiry Timeout
    // (12.8sec) has elapsed.
    private val BT_DEVICE_SELECT_WAIT_TIMEOUT = 20000L
    // (40 secondes) has elapsed.
    private val BT_DEVICE_SELECT_WAIT_TIMEOUT = 40000L
    private val IMAGE_FILE_NAME = "OPP_TEST_IMAGE.bmp"

    private val bluetoothManager = context.getSystemService(BluetoothManager::class.java)!!