Skip to content

Commit

Permalink
Fixed tags opening on API 30 due to package visibility changes
Browse files Browse the repository at this point in the history
  • Loading branch information
federicoiosue committed Mar 7, 2022
1 parent a712130 commit df212a3
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,6 @@ class TagOpenerHelperTest : BaseAndroidTestCase() {
assertNotNull(openOrGetIntent(testContext, "hashtag:thisCouldBeATag"))

@Test
fun openOrGetIntent_other() = assertNull(openOrGetIntent(testContext, "http://somesite.eu"))
fun openOrGetIntent_other() = assertNull(openOrGetIntent(testContext, "https://somesite.eu"))

}
14 changes: 14 additions & 0 deletions omniNotes/src/main/AndroidManifest.xml
Original file line number Diff line number Diff line change
Expand Up @@ -318,4 +318,18 @@

</application>

<queries>
<intent>
<action android:name="android.intent.action.DIAL" />
</intent>
<intent>
<action android:name="android.intent.action.SENDTO"/>
<data android:scheme="mailto"/>
</intent>
<intent>
<action android:name="android.intent.action.VIEW" />
<data android:scheme="http"/>
</intent>
</queries>

</manifest>

0 comments on commit df212a3

Please sign in to comment.