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

Commit aaab8195 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:...

Merge "MAP: Dismiss permission dialog on service stop" into main am: 7f103a3b am: 50f30ee5 am: 87ea50a4

Original change: https://android-review.googlesource.com/c/platform/packages/modules/Bluetooth/+/2780314



Change-Id: Ic5fcb3bdb583e73f9613245288e59d1419afc2fb
Signed-off-by: default avatarAutomerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
parents eddf4cfc 87ea50a4
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");