|
|
@@ -57,13 +57,19 @@
|
|
|
|
|
|
<activity
|
|
|
android:name="io.nekohasekai.sagernet.ui.MainActivity"
|
|
|
- android:label="@string/app_name"
|
|
|
- android:theme="@style/Theme.SagerNet">
|
|
|
+ android:label="@string/app_name">
|
|
|
<intent-filter>
|
|
|
<action android:name="android.intent.action.MAIN" />
|
|
|
|
|
|
<category android:name="android.intent.category.LAUNCHER" />
|
|
|
</intent-filter>
|
|
|
+ <intent-filter>
|
|
|
+ <action android:name="android.service.quicksettings.action.QS_TILE_PREFERENCES" />
|
|
|
+ </intent-filter>
|
|
|
+
|
|
|
+ <meta-data
|
|
|
+ android:name="android.app.shortcuts"
|
|
|
+ android:resource="@xml/shortcuts" />
|
|
|
</activity>
|
|
|
<activity
|
|
|
android:name="io.nekohasekai.sagernet.ui.VpnRequestActivity"
|
|
|
@@ -78,27 +84,36 @@
|
|
|
<activity android:name="io.nekohasekai.sagernet.ui.profile.VLESSSettingsActivity" />
|
|
|
<activity android:name="io.nekohasekai.sagernet.ui.profile.TrojanSettingsActivity" />
|
|
|
|
|
|
+ <activity
|
|
|
+ android:name=".QuickToggleShortcut"
|
|
|
+ android:label="@string/quick_toggle"
|
|
|
+ android:theme="@android:style/Theme.Translucent.NoTitleBar"
|
|
|
+ android:launchMode="singleTask"
|
|
|
+ android:excludeFromRecents="true"
|
|
|
+ android:taskAffinity=""
|
|
|
+ android:process=":bg">
|
|
|
+ <intent-filter>
|
|
|
+ <action android:name="android.intent.action.CREATE_SHORTCUT" />
|
|
|
+ </intent-filter>
|
|
|
+ </activity>
|
|
|
<activity
|
|
|
android:name="io.nekohasekai.sagernet.ui.AppManagerActivity"
|
|
|
android:excludeFromRecents="true"
|
|
|
android:label="@string/proxied_apps"
|
|
|
android:launchMode="singleTask"
|
|
|
- android:parentActivityName=".ui.MainActivity"
|
|
|
- android:theme="@style/Theme.SagerNet" />
|
|
|
+ android:parentActivityName=".ui.MainActivity" />
|
|
|
<activity
|
|
|
android:name="io.nekohasekai.sagernet.ui.ScannerActivity"
|
|
|
android:excludeFromRecents="true"
|
|
|
android:label="@string/add_profile_methods_scan_qr_code"
|
|
|
android:launchMode="singleTask"
|
|
|
android:parentActivityName="io.nekohasekai.sagernet.ui.MainActivity"
|
|
|
- android:screenOrientation="locked"
|
|
|
- android:theme="@style/Theme.SagerNet" />
|
|
|
+ android:screenOrientation="locked"/>
|
|
|
<activity
|
|
|
android:name="io.nekohasekai.sagernet.ui.LicenseActivity"
|
|
|
android:label="@string/oss_licenses"
|
|
|
android:launchMode="singleTask"
|
|
|
- android:parentActivityName="io.nekohasekai.sagernet.ui.MainActivity"
|
|
|
- android:theme="@style/Theme.SagerNet" />
|
|
|
+ android:parentActivityName="io.nekohasekai.sagernet.ui.MainActivity" />
|
|
|
|
|
|
<service
|
|
|
android:name="io.nekohasekai.sagernet.bg.ProxyService"
|