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

Commit 4ae22085 authored by android-build-team Robot's avatar android-build-team Robot
Browse files

release-request-011e6329-d82e-4e46-980f-68776b0cd6b9-for-git_oc-release-408036...

release-request-011e6329-d82e-4e46-980f-68776b0cd6b9-for-git_oc-release-4080367 snap-temp-L79900000072116775

Change-Id: Ifdf955676234eacb9e8577d7a33978a013eaffd6
parents fabcc6bc 8239c5c7
Loading
Loading
Loading
Loading
+7 −0
Original line number Diff line number Diff line
@@ -685,6 +685,7 @@ public class ScanManager {
                Log.w(TAG,
                        "Moving scan client to opportunistic (scannerId " + client.scannerId + ")");
                setOpportunisticScanClient(client);
                removeScanFilters(client.scannerId);
                client.stats.setScanTimeout();
            }

@@ -769,6 +770,12 @@ public class ScanManager {
            int scannerId = client.scannerId;
            int deliveryMode = getDeliveryMode(client);
            int trackEntries = 0;

            // Do not add any filters set by opportunistic scan clients
            if (isOpportunisticScanClient(client)) {
                return;
            }

            if (!shouldAddAllPassFilterToController(client, deliveryMode)) {
                return;
            }