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

Commit 951d5c84 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

Change-Id: I746e2fb40d95b48f037d69efdbd7639f7c3d7db3
parents f12307c3 18bd46fb
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);
    }