Loading android/app/src/com/android/bluetooth/le_scan/ScanManager.java +1 −4 Original line number Diff line number Diff line Loading @@ -47,7 +47,6 @@ import android.view.Display; import com.android.bluetooth.Utils; import com.android.bluetooth.btservice.AdapterService; import com.android.bluetooth.btservice.BluetoothAdapterProxy; import com.android.bluetooth.flags.Flags; import com.android.bluetooth.gatt.FilterParams; import com.android.bluetooth.gatt.GattObjectsFactory; import com.android.bluetooth.gatt.GattServiceConfig; Loading Loading @@ -448,9 +447,7 @@ public class ScanManager { Message msg = obtainMessage(MSG_SCAN_TIMEOUT); msg.obj = client; // Only one timeout message should exist at any time if (Flags.scanTimeoutReset()) { removeMessages(MSG_SCAN_TIMEOUT, client); } sendMessageDelayed(msg, mAdapterService.getScanTimeoutMillis()); Log.d(TAG, "apply scan timeout (" + mAdapterService.getScanTimeoutMillis() Loading android/app/tests/unit/src/com/android/bluetooth/le_scan/ScanManagerTest.java +0 −2 Original line number Diff line number Diff line Loading @@ -682,8 +682,6 @@ public class ScanManagerTest { @Test public void testScanTimeoutResetForNewScan() { mSetFlagsRule.enableFlags(Flags.FLAG_SCAN_TIMEOUT_RESET); mTestLooper.stopAutoDispatchAndIgnoreExceptions(); // Set filtered scan flag final boolean isFiltered = false; Loading flags/gap.aconfig +0 −7 Original line number Diff line number Diff line Loading @@ -43,13 +43,6 @@ flag { bug: "316885813" } flag { name: "scan_timeout_reset" namespace: "bluetooth" description: "Ensure scan timeout is reset if new scan started" bug: "316266556" } flag { name: "le_scan_fix_remote_exception" namespace: "bluetooth" Loading Loading
android/app/src/com/android/bluetooth/le_scan/ScanManager.java +1 −4 Original line number Diff line number Diff line Loading @@ -47,7 +47,6 @@ import android.view.Display; import com.android.bluetooth.Utils; import com.android.bluetooth.btservice.AdapterService; import com.android.bluetooth.btservice.BluetoothAdapterProxy; import com.android.bluetooth.flags.Flags; import com.android.bluetooth.gatt.FilterParams; import com.android.bluetooth.gatt.GattObjectsFactory; import com.android.bluetooth.gatt.GattServiceConfig; Loading Loading @@ -448,9 +447,7 @@ public class ScanManager { Message msg = obtainMessage(MSG_SCAN_TIMEOUT); msg.obj = client; // Only one timeout message should exist at any time if (Flags.scanTimeoutReset()) { removeMessages(MSG_SCAN_TIMEOUT, client); } sendMessageDelayed(msg, mAdapterService.getScanTimeoutMillis()); Log.d(TAG, "apply scan timeout (" + mAdapterService.getScanTimeoutMillis() Loading
android/app/tests/unit/src/com/android/bluetooth/le_scan/ScanManagerTest.java +0 −2 Original line number Diff line number Diff line Loading @@ -682,8 +682,6 @@ public class ScanManagerTest { @Test public void testScanTimeoutResetForNewScan() { mSetFlagsRule.enableFlags(Flags.FLAG_SCAN_TIMEOUT_RESET); mTestLooper.stopAutoDispatchAndIgnoreExceptions(); // Set filtered scan flag final boolean isFiltered = false; Loading
flags/gap.aconfig +0 −7 Original line number Diff line number Diff line Loading @@ -43,13 +43,6 @@ flag { bug: "316885813" } flag { name: "scan_timeout_reset" namespace: "bluetooth" description: "Ensure scan timeout is reset if new scan started" bug: "316266556" } flag { name: "le_scan_fix_remote_exception" namespace: "bluetooth" Loading