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

Commit ce8b9bab authored by Hyundo Moon's avatar Hyundo Moon Committed by Gerrit Code Review
Browse files

Merge "Remove flag opp_remove_incomplete_download" into main

parents 7f091bf4 6573cd95
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
    }
}