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

Commit 83875602 authored by Sravan Kumar V's avatar Sravan Kumar V Committed by Gerrit - the friendly Code Review server
Browse files

Bluetooth-OPP: Start notification thread if thread is not started

This change will ensure that notification thread will start if it
is not started. Otherwise, incase of NFC OPP_TRANSFER_PROGRESS
intent will not be broadcast will lead to transfer failure.

CRs-Fixed: 668472
Change-Id: I02f281b9ef519b50caec46d4215f48e7cbe786fd
parent da174748
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -145,7 +145,7 @@ class BluetoothOppNotification {
    public void updateNotification() {
        synchronized (BluetoothOppNotification.this) {
            mPendingUpdate++;
            if (mPendingUpdate > 1) {
            if ((mPendingUpdate > 1) && (mUpdateNotificationThread != null)) {
                if (V) Log.v(TAG, "update too frequent, put in queue");
                return;
            }