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

Commit e441f165 authored by Andre Eisenbach's avatar Andre Eisenbach Committed by Gerrit Code Review
Browse files

Merge "Fix NPE crash while removeBatch"

parents a36dfa30 9fd2069d
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();
                        }