Add support for import remote profile

This commit is contained in:
世界
2023-07-27 12:14:03 +08:00
parent 805d99e297
commit cb9799936b
8 changed files with 92 additions and 7 deletions

View File

@@ -39,6 +39,19 @@
<category android:name="android.intent.category.LAUNCHER" />
</intent-filter>
<intent-filter android:label="@string/import_remote_profile">
<action android:name="android.intent.action.VIEW" />
<category android:name="android.intent.category.DEFAULT" />
<category android:name="android.intent.category.BROWSABLE" />
<data
android:host="import-remote-profile"
android:scheme="sing-box" />
</intent-filter>
<meta-data
android:name="android.app.shortcuts"
android:resource="@xml/shortcuts" />