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

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

Merge "Remove advertiser during unregistration"

am: 10f36a1d

Change-Id: I3bcf2f6ddd712654eba985326503c214dab7df11
parents d45695fa 10f36a1d
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);
    }