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

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

Merge "Remove advertiser during unregistration" am: 10f36a1d am: 750a0a43 am: 18bd46fb

am: 951d5c84

Change-Id: I6365f5cafdec01b6c54b593324cc13de5f033231
parents 9151f1d7 951d5c84
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);
    }