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

Commit 55b9842c 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 am: aaab8195

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



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