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

Commit de7b8193 authored by Andre Eisenbach's avatar Andre Eisenbach Committed by android-build-merger
Browse files

Merge "Fix NPE crash while removeBatch"

am: e441f165

* commit 'e441f165':
  Fix NPE crash while removeBatch
parents 1d128549 e441f165
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -868,7 +868,8 @@ public class BluetoothOppService extends Service {
                        mServerTransfer = new BluetoothOppTransfer(this, mPowerManager, nextBatch,
                                                                   mServerSession);
                        mServerTransfer.start();
                        if (nextBatch.getPendingShare().mConfirm ==
                        if (nextBatch.getPendingShare() != null
                            && nextBatch.getPendingShare().mConfirm ==
                                BluetoothShare.USER_CONFIRMATION_CONFIRMED) {
                            mServerTransfer.confirmStatusChanged();
                        }