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

Commit b5287150 authored by Martijn Coenen's avatar Martijn Coenen Committed by Android Git Automerger
Browse files

am 64371b9c: Merge "Don\'t MediaScan files received through handover." into jb-dev

* commit '64371b9c':
  Don't MediaScan files received through handover.
parents a7c96beb 64371b9c
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -865,7 +865,8 @@ public class BluetoothOppService extends Service {
    private boolean shouldScanFile(int arrayPos) {
        BluetoothOppShareInfo info = mShares.get(arrayPos);
        return BluetoothShare.isStatusSuccess(info.mStatus)
                && info.mDirection == BluetoothShare.DIRECTION_INBOUND && !info.mMediaScanned;
                && info.mDirection == BluetoothShare.DIRECTION_INBOUND && !info.mMediaScanned &&
                info.mConfirm != BluetoothShare.USER_CONFIRMATION_HANDOVER_CONFIRMED;
    }

    // Run in a background thread at boot.