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:
parent
b1829640ce
commit
cd69a5ee98
3 changed files with 13 additions and 8 deletions
|
@ -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();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue