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

Commit 6573cd95 authored by Hyundo Moon's avatar Hyundo Moon
Browse files

Remove flag opp_remove_incomplete_download

Bug: 331298337
Test: m -j;
Change-Id: I1458d815338a51ebb8432502b8d6cd645d723062
parent 35ddefcd
Loading
Loading
Loading
Loading
+1 −2
Original line number Diff line number Diff line
@@ -53,7 +53,6 @@ import com.android.bluetooth.BluetoothStatsLog;
import com.android.bluetooth.Utils;
import com.android.bluetooth.btservice.MetricsLogger;
import com.android.bluetooth.content_profiles.ContentProfileErrorReportUtils;
import com.android.bluetooth.flags.Flags;
import com.android.obex.HeaderSet;
import com.android.obex.ObexTransport;
import com.android.obex.Operation;
@@ -428,7 +427,7 @@ public class BluetoothOppObexServerSession extends ServerRequestHandler
                    msg.sendToTarget();
                }

                if (Flags.oppRemoveIncompleteDownload() && mFileInfo.mInsertUri != null) {
                if (mFileInfo.mInsertUri != null) {
                    Log.d(
                        TAG,
                        "Download failed. Removing the file. Uri=" + mFileInfo.mInsertUri);
+0 −9
Original line number Diff line number Diff line
@@ -28,12 +28,3 @@ flag {
    }
}
flag {
    name: "opp_remove_incomplete_download"
    namespace: "bluetooth"
    description: "Remove incomplete file download (e.g. BT turned off while downloading)"
    bug: "331298337"
    metadata {
        purpose: PURPOSE_BUGFIX
    }
}