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

Commit 78535b92 authored by William Escande's avatar William Escande Committed by Gerrit Code Review
Browse files

Merge "Map: Check AdapterService before stop"

parents 88c5808f 4f6a3a83
Loading
Loading
Loading
Loading
+5 −3
Original line number Diff line number Diff line
@@ -339,9 +339,11 @@ public class MapClientService extends ProfileService {
            Log.d(TAG, "stop()");
        }

        if (mAdapterService != null) {
            mAdapterService.notifyActivityAttributionInfo(
                    getAttributionSource(),
                    AdapterService.ACTIVITY_ATTRIBUTION_NO_ACTIVE_DEVICE_ADDRESS);
        }
        if (mMapReceiver != null) {
            unregisterReceiver(mMapReceiver);
            mMapReceiver = null;