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

Commit 8ebd1dea authored by William Escande's avatar William Escande Committed by Automerger Merge Worker
Browse files

Merge "OppTransfer Add null check for mTransferCursor." into main am: 4ec04021

parents d3156745 4ec04021
Loading
Loading
Loading
Loading
+3 −0
Original line number Diff line number Diff line
@@ -266,6 +266,9 @@ public class BluetoothOppTransferHistory extends Activity

    /** Returns true if the device has finished transfers, including error and success. */
    private boolean isTransferComplete() {
        if (mTransferCursor == null) {
            return false;
        }
        try {
            if (mTransferCursor.moveToFirst()) {
                while (!mTransferCursor.isAfterLast()) {