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

Commit f42e1f58 authored by Hyundo Moon's avatar Hyundo Moon Committed by Automerger Merge Worker
Browse files

Merge "MAP: Dismiss permission dialog on service stop" into main am: 7f103a3b

parents d8044de8 7f103a3b
Loading
Loading
Loading
Loading
+2 −6
Original line number Diff line number Diff line
@@ -1061,13 +1061,9 @@ public class BluetoothMapService extends ProfileService {
    }

    private void sendShutdownMessage() {
        // Pending messages are no longer valid. To speed up things, simply delete them.
        // We should close the Setting's permission dialog if one is open.
        if (mRemoveTimeoutMsg) {
            Intent timeoutIntent = new Intent(USER_CONFIRM_TIMEOUT_ACTION);
            Utils.sendBroadcast(this, timeoutIntent, null,
                    Utils.getTempAllowlistBroadcastOptions());
            mIsWaitingAuthorization = false;
            cancelUserTimeoutAlarm();
            sendConnectTimeoutMessage();
        }
        if (mSessionStatusHandler == null) {
            Log.w(TAG, "mSessionStatusHandler is null");