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

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

Merge "Remove advertiser during unregistration" am: 10f36a1d

am: 750a0a43

Change-Id: Ia1c7bddd61c9d6ea0f32bb97fc5937185e5723cc
parents 9d738dc2 750a0a43
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);
    }