Suppress AppLinkUrlError

This commit is contained in:
topjohnwu 2022-06-06 05:26:53 -07:00
parent fc70a384d3
commit eb777296d4
2 changed files with 4 additions and 2 deletions

View File

@ -26,7 +26,8 @@
<activity <activity
android:name=".ui.surequest.SuRequestActivity" android:name=".ui.surequest.SuRequestActivity"
android:directBootAware="true" android:directBootAware="true"
android:exported="false"> android:exported="false"
tools:ignore="AppLinkUrlError">
<intent-filter> <intent-filter>
<action android:name="android.intent.action.VIEW" /> <action android:name="android.intent.action.VIEW" />
<category android:name="android.intent.category.DEFAULT" /> <category android:name="android.intent.category.DEFAULT" />

View File

@ -126,7 +126,8 @@ fun genStubManifest(srcDir: File, outDir: File): String {
|<activity |<activity
| android:name="%s" | android:name="%s"
| android:directBootAware="true" | android:directBootAware="true"
| android:exported="false"> | android:exported="false"
| tools:ignore="AppLinkUrlError">
| <intent-filter> | <intent-filter>
| <action android:name="android.intent.action.VIEW"/> | <action android:name="android.intent.action.VIEW"/>
| <category android:name="android.intent.category.DEFAULT"/> | <category android:name="android.intent.category.DEFAULT"/>