1
0
Fork 0
mirror of https://github.com/geometer/FBReaderJ.git synced 2025-10-04 18:29:23 +02:00

signature will not be checked for dictionaries :)

This commit is contained in:
Nikolay Pultsin 2011-03-18 23:48:15 +00:00
parent b1829640ce
commit cd69a5ee98
3 changed files with 13 additions and 8 deletions

View file

@ -96,7 +96,7 @@ public abstract class DictionaryUtil {
for (Map.Entry<PackageInfo,Boolean> entry : infos().entrySet()) {
final PackageInfo info = entry.getKey();
if (!entry.getValue() ||
PackageUtil.canBeStarted(context, getDictionaryIntent(info, "test"))) {
PackageUtil.canBeStarted(context, getDictionaryIntent(info, "test"), false)) {
list.add(info);
}
}
@ -188,7 +188,7 @@ public abstract class DictionaryUtil {
}
public static void installDictionaryIfNotInstalled(final Activity activity) {
if (PackageUtil.canBeStarted(activity, getDictionaryIntent("test"))) {
if (PackageUtil.canBeStarted(activity, getDictionaryIntent("test"), false)) {
return;
}
final PackageInfo dictionaryInfo = getCurrentDictionaryInfo();