Skip to content

Commit 425d13a

Browse files
Jean-Baptiste QueruAndroid Git Automerger
authored andcommitted
am 2278e60: Merge "Adds missing Bluetooth as network type."
* commit '2278e60c39f937b6eee14fbf0094d4be92d7f06b': Adds missing Bluetooth as network type.
2 parents 02c9991 + 2278e60 commit 425d13a

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)