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

Commit b322cab6 authored by Sravan Kumar V's avatar Sravan Kumar V Committed by Linux Build Service Account
Browse files

Bluetooth: Update notification while BT is turning OFF

Change will update notification while BT is turning OFF. Otherwise,
when BT is turning OFF if Update notification thread is missed
inbound/outbound file transfer status, notification will not properly
updated.

Change-Id: I0752bcddcf218726c8564d26da7bc7c86a0005fd
parent 253717d3
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -160,6 +160,8 @@ class BluetoothOppNotification {
        if (V) Log.v(TAG, "updateNotifier while BT is Turning OFF");
        synchronized (BluetoothOppNotification.this) {
            updateActiveNotification();
            if (V) Log.v(TAG, "Update Inbound and Outbound count");
            mUpdateCompleteNotification = true;
            updateCompletedNotification();
            cancelIncomingFileConfirmNotification();
        }