diff options
author | Christian S <christian@pix-art.de> | 2015-12-06 19:30:42 +0100 |
---|---|---|
committer | Christian S <christian@pix-art.de> | 2015-12-06 19:30:42 +0100 |
commit | 15d148ebebb484474454a23f8fa87d17e363845b (patch) | |
tree | f304930d497e0a3e4f54f04389a42ff0a7ddffdc /src/main/java/eu/siacs | |
parent | da48e843ed4f7baa4b96ec3ca6c5bd4072658339 (diff) |
disable update download only on WiFi
Diffstat (limited to 'src/main/java/eu/siacs')
-rw-r--r-- | src/main/java/eu/siacs/conversations/ui/UpdaterActivity.java | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/main/java/eu/siacs/conversations/ui/UpdaterActivity.java b/src/main/java/eu/siacs/conversations/ui/UpdaterActivity.java index a1b3a3c6a..f18b8fdab 100644 --- a/src/main/java/eu/siacs/conversations/ui/UpdaterActivity.java +++ b/src/main/java/eu/siacs/conversations/ui/UpdaterActivity.java @@ -193,8 +193,8 @@ public class UpdaterActivity extends Activity { downloadManager = (DownloadManager) getSystemService(DOWNLOAD_SERVICE); Uri Download_Uri = Uri.parse(appURI); DownloadManager.Request request = new DownloadManager.Request(Download_Uri); - request.setAllowedNetworkTypes(DownloadManager.Request.NETWORK_WIFI); - request.setAllowedOverRoaming(false); + //request.setAllowedNetworkTypes(DownloadManager.Request.NETWORK_WIFI); + //request.setAllowedOverRoaming(false); request.setTitle("Pix-Art Messenger Update"); request.setDestinationInExternalFilesDir(UpdaterActivity.this, Environment.DIRECTORY_DOWNLOADS, "Conversations" + versionName + ".apk"); downloadReference = downloadManager.enqueue(request); |