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

Commit 74dba276 authored by William Escande's avatar William Escande Committed by Automerger Merge Worker
Browse files

Merge "Map: Check AdapterService before stop" into tm-qpr-dev am: bd87b220

parents ad092a33 bd87b220
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;