Make DictionaryFactory.killDictionary public

Change-Id: I9a0733392651714b3ba232cdb805565a5238eb93
main
Mohammadinamul Sheik 2015-02-25 17:53:35 -08:00
parent 2b8d763c65
commit 20fb37afee
1 changed files with 1 additions and 1 deletions

View File

@ -80,7 +80,7 @@ public final class DictionaryFactory {
* @param context The context to contact the dictionary provider, if possible. * @param context The context to contact the dictionary provider, if possible.
* @param f A file address to the dictionary to kill. * @param f A file address to the dictionary to kill.
*/ */
private static void killDictionary(final Context context, final AssetFileAddress f) { public static void killDictionary(final Context context, final AssetFileAddress f) {
if (f.pointsToPhysicalFile()) { if (f.pointsToPhysicalFile()) {
f.deleteUnderlyingFile(); f.deleteUnderlyingFile();
// Warn the dictionary provider if the dictionary came from there. // Warn the dictionary provider if the dictionary came from there.