Disable download notifications.

Change-Id: I25263fe227ae88afa2021454b0dac2b0c7b9bfe0
main
Chieu Nguyen 2015-06-19 21:52:20 -07:00
parent 0232e73dfa
commit 779d4bb429
1 changed files with 1 additions and 3 deletions

View File

@ -141,9 +141,7 @@ public final class ActionBatch {
final Resources res = context.getResources();
request.setAllowedNetworkTypes(Request.NETWORK_WIFI | Request.NETWORK_MOBILE);
request.setTitle(mWordList.mDescription);
request.setNotificationVisibility(
res.getBoolean(R.bool.display_notification_for_auto_update)
? Request.VISIBILITY_VISIBLE : Request.VISIBILITY_HIDDEN);
request.setNotificationVisibility(Request.VISIBILITY_HIDDEN);
request.setVisibleInDownloadsUi(
res.getBoolean(R.bool.dict_downloads_visible_in_download_UI));