Do not force downloads on package replace.

This is causing issues we can't deal with in a safe and timely manner.
Furthermore, users who need downloaded dictionaries already have them by now.

Bug 21797386.

Change-Id: I97e5fd84edcf2b16f04db57b7ae4a13fa9ce993f
This commit is contained in:
Dan Zivkovic 2015-06-23 10:15:34 -07:00
parent bf7c0106b0
commit 4e9d260826

View file

@ -81,7 +81,8 @@ public final class SystemBroadcastReceiver extends BroadcastReceiver {
// Remove all the previously scheduled downloads. This will also makes sure // Remove all the previously scheduled downloads. This will also makes sure
// that any erroneously stuck downloads will get cleared. (b/21797386) // that any erroneously stuck downloads will get cleared. (b/21797386)
removeOldDownloads(context); removeOldDownloads(context);
downloadLatestDictionaries(context); // b/21797386
// downloadLatestDictionaries(context);
} else if (Intent.ACTION_BOOT_COMPLETED.equals(intentAction)) { } else if (Intent.ACTION_BOOT_COMPLETED.equals(intentAction)) {
Log.i(TAG, "Boot has been completed"); Log.i(TAG, "Boot has been completed");
toggleAppIcon(context); toggleAppIcon(context);