Skip to content
Snippets Groups Projects
Commit 48ba1ea1 authored by Mohammadinamul Sheik's avatar Mohammadinamul Sheik Committed by Android (Google) Code Review
Browse files

Merge "Make DictionaryFactory.killDictionary public"

parents 487e038f 20fb37af
No related branches found
No related tags found
No related merge requests found
...@@ -80,7 +80,7 @@ public final class DictionaryFactory { ...@@ -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.
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment