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

Commit 1728df96 authored by Ömer Faruk Yılmaz's avatar Ömer Faruk Yılmaz
Browse files

Remove unused variables in TransitionalScanHelper

Test: atest TransitionalScanHelperTest
Bug: 313335632
Bug: 267361243
Bug: 327503826
Change-Id: Ief696f3f33771d9c561ef61d3c6b1da5a3093b0c
parent cf45beb4
Loading
Loading
Loading
Loading
+1 −4
Original line number Diff line number Diff line
@@ -75,16 +75,13 @@ import java.util.function.Predicate;
/**
 * A helper class which contains all scan related functions extracted from {@link
 * com.android.bluetooth.gatt.GattService}. The purpose of this class is to preserve scan
 * functionality within GattService and provide the same functionality in a new scan dedicated
 * {@link com.android.bluetooth.btservice.ProfileService} when introduced.
 * functionality within GattService and provide the same functionality in {@link ScanController}.
 */
public class TransitionalScanHelper {
    private static final String TAG = GattServiceConfig.TAG_PREFIX + "ScanHelper";

    // Batch scan related constants.
    private static final int TRUNCATED_RESULT_SIZE = 11;
    static final int SCAN_FILTER_ENABLED = 1;
    static final int SCAN_FILTER_MODIFIED = 2;

    /** The default floor value for LE batch scan report delays greater than 0 */
    @VisibleForTesting static final long DEFAULT_REPORT_DELAY_FLOOR = 5000;