Disable download notifications.
Change-Id: I25263fe227ae88afa2021454b0dac2b0c7b9bfe0main
parent
0232e73dfa
commit
779d4bb429
|
@ -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));
|
||||
|
||||
|
|
Loading…
Reference in New Issue