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

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

Merge "Remove advertiser during unregistration"

am: 1d0864a2

Change-Id: I3bcf2f6ddd712654eba985326503c214dab7df11
parents d86d1561 1d0864a2
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);
    }