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

Commit c4e5390f authored by Jakub Pawlowski's avatar Jakub Pawlowski Committed by android-build-merger
Browse files

Merge "Remove advertiser during unregistration" am: 1d0864a2 am: 288d0324 am: 4cff4c05

am: 87c07688

Change-Id: I6365f5cafdec01b6c54b593324cc13de5f033231
parents d81332fe 87c07688
Loading
Loading
Loading
Loading
+4 −0
Original line number Diff line number Diff line
@@ -94,6 +94,10 @@ class AdvertiseManager {
    }

    void unregisterAdvertiser(int advertiserId) {
        AdvertiseClient client = getAdvertiseClient(advertiserId);
        if (client != null && mAdvertiseClients.contains(client)) {
            mAdvertiseClients.remove(client);
        }
        mAdvertiseNative.unregisterAdvertiserNative(advertiserId);
    }