Attempt retry for broken dictionaries
1. Add retry count column within metadata in dictionary pack. 2. Attempt a retry for download and installation by running StartDownloadAction. 3. If the number retrial are at the threshold, we don't attempt it again. Bug: 15150487 Change-Id: I70720353e5803fccf4728c2aa798883ba75c61e5
Showing
- java/src/com/android/inputmethod/dictionarypack/ActionBatch.java 10 additions, 9 deletions...c/com/android/inputmethod/dictionarypack/ActionBatch.java
- java/src/com/android/inputmethod/dictionarypack/DictionaryProvider.java 5 additions, 1 deletion...ndroid/inputmethod/dictionarypack/DictionaryProvider.java
- java/src/com/android/inputmethod/dictionarypack/MetadataDbHelper.java 71 additions, 10 deletions.../android/inputmethod/dictionarypack/MetadataDbHelper.java
- java/src/com/android/inputmethod/dictionarypack/MetadataHandler.java 19 additions, 0 deletions...m/android/inputmethod/dictionarypack/MetadataHandler.java
- java/src/com/android/inputmethod/dictionarypack/MetadataParser.java 1 addition, 0 deletions...om/android/inputmethod/dictionarypack/MetadataParser.java
- java/src/com/android/inputmethod/dictionarypack/UpdateHandler.java 55 additions, 37 deletions...com/android/inputmethod/dictionarypack/UpdateHandler.java
- java/src/com/android/inputmethod/dictionarypack/WordListMetadata.java 9 additions, 3 deletions.../android/inputmethod/dictionarypack/WordListMetadata.java
Loading
Please register or sign in to comment