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

Commit 263a0091 authored by Wei Wang's avatar Wei Wang
Browse files

Fix build

Change-Id: I0e4f8ffec53f606c75dbfae0db50da51118d8ddf
parent 448ec944
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;