Skip to content

Commit

Permalink
Android 11: Declare more <queries> elements in the manifest
Browse files Browse the repository at this point in the history
- Be able to check if we can open TTS settings on the device (`TTS_SETTINGS`)
- Allow web search of words (`WEB_SEARCH`)
- Allow looking up words in other apps (`PROCESS_TEXT`)
  • Loading branch information
calvarez-ov committed Oct 28, 2020
1 parent a320448 commit e50ffba
Show file tree
Hide file tree
Showing 3 changed files with 19 additions and 2 deletions.
7 changes: 7 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,13 @@
Change Log
==========

1.30.3 *(2020-10-28)*
--------------------
* Android 11: Declare more `<queries>` elements in the manifest
- Be able to check if we can open TTS settings on the device (`TTS_SETTINGS`)
- Allow web search of words (`WEB_SEARCH`)
- Allow looking up words in other apps (`PROCESS_TEXT`)

1.30.2 *(2020-10-28)*
--------------------
Update environment:
Expand Down
4 changes: 2 additions & 2 deletions app/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -45,8 +45,8 @@ android {
applicationId "ca.rmen.android.poetassistant"
minSdkVersion 21
targetSdkVersion 30
versionCode 113002
versionName "1.30.2"
versionCode 113003
versionName "1.30.3"
// setting vectorDrawables.useSupportLibrary = true means pngs won't be generated at
// build time: http://android-developers.blogspot.fr/2016/02/android-support-library-232.html
vectorDrawables.useSupportLibrary = true
Expand Down
10 changes: 10 additions & 0 deletions app/src/main/AndroidManifest.xml
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,16 @@
<intent>
<action android:name="android.intent.action.TTS_SERVICE" />
</intent>
<intent>
<action android:name="com.android.settings.TTS_SETTINGS" />
</intent>
<intent>
<action android:name="android.intent.action.WEB_SEARCH" />
</intent>
<intent>
<action android:name="android.intent.action.PROCESS_TEXT" />
<data android:mimeType="text/plain" />
</intent>
</queries>

<application
Expand Down

0 comments on commit e50ffba

Please sign in to comment.