diff options
author | 2015-06-19 21:52:20 -0700 | |
---|---|---|
committer | 2015-06-19 21:52:20 -0700 | |
commit | 779d4bb4293e2f37c3e2ff219e2e7ce4690036d7 (patch) | |
tree | c0d4774dbcee775fe3b69e802c438511bb6a1b35 /java/src/com/android/inputmethod/dictionarypack/ActionBatch.java | |
parent | 0232e73dfa5e7cadf3f0698407fe6aecd97f3227 (diff) | |
download | latinime-779d4bb4293e2f37c3e2ff219e2e7ce4690036d7.tar.gz latinime-779d4bb4293e2f37c3e2ff219e2e7ce4690036d7.tar.xz latinime-779d4bb4293e2f37c3e2ff219e2e7ce4690036d7.zip |
Disable download notifications.
Change-Id: I25263fe227ae88afa2021454b0dac2b0c7b9bfe0
Diffstat (limited to 'java/src/com/android/inputmethod/dictionarypack/ActionBatch.java')
-rw-r--r-- | java/src/com/android/inputmethod/dictionarypack/ActionBatch.java | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/java/src/com/android/inputmethod/dictionarypack/ActionBatch.java b/java/src/com/android/inputmethod/dictionarypack/ActionBatch.java index 6feef9ecf..1b526d453 100644 --- a/java/src/com/android/inputmethod/dictionarypack/ActionBatch.java +++ b/java/src/com/android/inputmethod/dictionarypack/ActionBatch.java @@ -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)); |