Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions assets/dictionaries/main.xml
Original file line number Diff line number Diff line change
Expand Up @@ -79,6 +79,12 @@
dataKey="query"
pattern="%s"
/>
<dictionary
id="Aard 2"
action="aard2.lookup"
dataKey="query"
pattern="%s"
/>
<dictionary
id="LEO Dictionary"
package="org.leo.android.dict"
Expand Down
1 change: 1 addition & 0 deletions src/org/geometerplus/android/fbreader/DictionaryUtil.java
Original file line number Diff line number Diff line change
Expand Up @@ -101,6 +101,7 @@ final Intent getDictionaryIntent(String text) {
}
}
intent.addFlags(Intent.FLAG_ACTIVITY_NEW_TASK);
intent.addFlags(Intent.FLAG_ACTIVITY_CLEAR_TOP);
text = IntentDataPattern.replace("%s", text);
if (IntentKey != null) {
return intent.putExtra(IntentKey, text);
Expand Down