mirror of
https://gitlab.futo.org/keyboard/latinime.git
synced 2024-09-28 14:54:30 +01:00
am 48ba1ea1
: Merge "Make DictionaryFactory.killDictionary public"
* commit '48ba1ea19f7e18a24813a9301ed620612c2e53d7': Make DictionaryFactory.killDictionary public
This commit is contained in:
commit
d11e4cd964
@ -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.
|
||||
|
Loading…
Reference in New Issue
Block a user