Skip to content

Commit

Permalink
allowed to update with mobile netwrok
Browse files Browse the repository at this point in the history
  • Loading branch information
XndroidDev committed Oct 2, 2018
1 parent b1f820e commit 66d0aaf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/src/main/java/net/xndroid/UpdateManager.java
Original file line number Diff line number Diff line change
Expand Up @@ -103,7 +103,7 @@ private static void doUpdate()
url = "https://github.com/XndroidDev/Xndroid/releases/download/" + sVersionName + "/app-release.apk";
}
DownloadManager.Request request = new DownloadManager.Request(Uri.parse(url));
request.setAllowedNetworkTypes(DownloadManager.Request.NETWORK_WIFI);
//request.setAllowedNetworkTypes(DownloadManager.Request.NETWORK_WIFI);
request.setNotificationVisibility(DownloadManager.Request.VISIBILITY_VISIBLE);
request.setTitle(sContext.getString(R.string.updating_xndroid));
request.setDescription(sContext.getString(R.string.downloading_xndroid));
Expand Down

0 comments on commit 66d0aaf

Please sign in to comment.