Disable download notifications.
Change-Id: I25263fe227ae88afa2021454b0dac2b0c7b9bfe0main
parent
0232e73dfa
commit
779d4bb429
|
@ -141,9 +141,7 @@ public final class ActionBatch {
|
||||||
final Resources res = context.getResources();
|
final Resources res = context.getResources();
|
||||||
request.setAllowedNetworkTypes(Request.NETWORK_WIFI | Request.NETWORK_MOBILE);
|
request.setAllowedNetworkTypes(Request.NETWORK_WIFI | Request.NETWORK_MOBILE);
|
||||||
request.setTitle(mWordList.mDescription);
|
request.setTitle(mWordList.mDescription);
|
||||||
request.setNotificationVisibility(
|
request.setNotificationVisibility(Request.VISIBILITY_HIDDEN);
|
||||||
res.getBoolean(R.bool.display_notification_for_auto_update)
|
|
||||||
? Request.VISIBILITY_VISIBLE : Request.VISIBILITY_HIDDEN);
|
|
||||||
request.setVisibleInDownloadsUi(
|
request.setVisibleInDownloadsUi(
|
||||||
res.getBoolean(R.bool.dict_downloads_visible_in_download_UI));
|
res.getBoolean(R.bool.dict_downloads_visible_in_download_UI));
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue