Skip to content

Commit 2278e60

Browse files
Jean-Baptiste Queruandroid code review
authored andcommitted
Merge "Adds missing Bluetooth as network type."
2 parents 33c5670 + 011238b commit 2278e60

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

core/java/android/app/DownloadManager.java

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -344,6 +344,13 @@ public static class Request {
344344
*/
345345
public static final int NETWORK_WIFI = 1 << 1;
346346

347+
/**
348+
* Bit flag for {@link #setAllowedNetworkTypes} corresponding to
349+
* {@link ConnectivityManager#TYPE_BLUETOOTH}.
350+
* @hide
351+
*/
352+
public static final int NETWORK_BLUETOOTH = 1 << 2;
353+
347354
private Uri mUri;
348355
private Uri mDestinationUri;
349356
private List<Pair<String, String>> mRequestHeaders = new ArrayList<Pair<String, String>>();

0 commit comments

Comments
 (0)