Merge "Make DictionaryFactory.killDictionary public"

This commit is contained in:
Mohammadinamul Sheik 2015-02-26 03:33:06 +00:00 committed by Android (Google) Code Review
commit 48ba1ea19f

View file

@ -80,7 +80,7 @@ public final class DictionaryFactory {
* @param context The context to contact the dictionary provider, if possible.
* @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()) {
f.deleteUnderlyingFile();
// Warn the dictionary provider if the dictionary came from there.