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

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

am 263a0091: Fix build

* commit '263a0091':
  Fix build
parents 2a502ce8 263a0091
Loading
Loading
Loading
Loading
+1 −4
Original line number Diff line number Diff line
@@ -180,10 +180,7 @@ class AdvertiseManager {
                        AdvertiseCallback.ADVERTISE_FAILED_TOO_MANY_ADVERTISERS);
                return;
            }

            if (!isAllServiceRegistered(client)) {
                postCallback(clientIf, AdvertiseCallback.ADVERTISE_FAILED_SERVICE_UNKNOWN);
            }
            // TODO: check if the advertise data length is larger than 31 bytes.
            if (!mAdvertiseNative.startAdverising(client)) {
                postCallback(clientIf, AdvertiseCallback.ADVERTISE_FAILED_INTERNAL_ERROR);
                return;