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

Commit efd74808 authored by Wei Wang's avatar Wei Wang Committed by Android Git Automerger
Browse files

am 1e6cd84b: am 210cfb1e: am 1af4db26: am 8af0e1cd: Fix a typo that compares...

am 1e6cd84b: am 210cfb1e: am 1af4db26: am 8af0e1cd: Fix a typo that compares scanMode with callback types.

* commit '1e6cd84b':
  Fix a typo that compares scanMode with callback types.
parents 29426de8 1e6cd84b
Loading
Loading
Loading
Loading
+1 −1
Original line number Original line Diff line number Diff line
@@ -1962,7 +1962,7 @@ public class GattService extends ProfileService {
            return false;
            return false;
        }
        }
        // Hidden API for onLost/onFound
        // Hidden API for onLost/onFound
        if (settings.getScanMode() != ScanSettings.CALLBACK_TYPE_ALL_MATCHES) {
        if (settings.getCallbackType() != ScanSettings.CALLBACK_TYPE_ALL_MATCHES) {
            return true;
            return true;
        }
        }
        // Regular scan, no special permission.
        // Regular scan, no special permission.