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

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

Merge "Fix OnAdvertisingSetStopped callback not being called"

am: f4fa0af6

Change-Id: I9968e0b22512f1a680c3fc3827cfb3c3e0c65df6
parents 483e1e64 f4fa0af6
Loading
Loading
Loading
Loading
+6 −0
Original line number Diff line number Diff line
@@ -240,6 +240,12 @@ class AdvertiseManager {
        }

        stopAdvertisingSetNative(advertiser_id);

        try {
            callback.onAdvertisingSetStopped(advertiser_id);
        } catch (RemoteException e) {
            Log.i(TAG, "error sending onAdvertisingSetStopped callback", e);
        }
    }

    void enableAdvertisingSet(int advertiserId, boolean enable, int duration, int maxExtAdvEvents) {