Rename daemon process and split task services
Standardizes manifest process names by replacing the long `:RunSoLibV2RayDaemon` suffix with `:daemon` for shortcut activities, VPN/proxy services, and related receivers. It also moves `CoreTestService` and `SubscriptionUpdateService` to a separate `:tasks` process to isolate task-oriented work from the main daemon process.
This commit is contained in:
1 parent
8d9152bb4e
commit
ca4185abad
1 file changed
+11
-11
@@ -166,19 +166,19 @@
|
|||||||
android:name=".ui.shortcut.ScSwitchActivity"
|
android:name=".ui.shortcut.ScSwitchActivity"
|
||||||
android:excludeFromRecents="true"
|
android:excludeFromRecents="true"
|
||||||
android:exported="false"
|
android:exported="false"
|
||||||
android:process=":RunSoLibV2RayDaemon"
|
android:process=":daemon"
|
||||||
android:theme="@style/AppThemeDayNight.NoActionBar.Translucent" />
|
android:theme="@style/AppThemeDayNight.NoActionBar.Translucent" />
|
||||||
<activity
|
<activity
|
||||||
android:name=".ui.shortcut.ScStartActivity"
|
android:name=".ui.shortcut.ScStartActivity"
|
||||||
android:excludeFromRecents="true"
|
android:excludeFromRecents="true"
|
||||||
android:exported="false"
|
android:exported="false"
|
||||||
android:process=":RunSoLibV2RayDaemon"
|
android:process=":daemon"
|
||||||
android:theme="@style/AppThemeDayNight.NoActionBar.Translucent" />
|
android:theme="@style/AppThemeDayNight.NoActionBar.Translucent" />
|
||||||
<activity
|
<activity
|
||||||
android:name=".ui.shortcut.ScStopActivity"
|
android:name=".ui.shortcut.ScStopActivity"
|
||||||
android:excludeFromRecents="true"
|
android:excludeFromRecents="true"
|
||||||
android:exported="false"
|
android:exported="false"
|
||||||
android:process=":RunSoLibV2RayDaemon"
|
android:process=":daemon"
|
||||||
android:theme="@style/AppThemeDayNight.NoActionBar.Translucent" />
|
android:theme="@style/AppThemeDayNight.NoActionBar.Translucent" />
|
||||||
|
|
||||||
<activity
|
<activity
|
||||||
@@ -220,7 +220,7 @@
|
|||||||
android:foregroundServiceType="specialUse"
|
android:foregroundServiceType="specialUse"
|
||||||
android:label="@string/app_name"
|
android:label="@string/app_name"
|
||||||
android:permission="android.permission.BIND_VPN_SERVICE"
|
android:permission="android.permission.BIND_VPN_SERVICE"
|
||||||
android:process=":RunSoLibV2RayDaemon"
|
android:process=":daemon"
|
||||||
tools:ignore="VpnServicePolicy">
|
tools:ignore="VpnServicePolicy">
|
||||||
<intent-filter>
|
<intent-filter>
|
||||||
<action android:name="android.net.VpnService" />
|
<action android:name="android.net.VpnService" />
|
||||||
@@ -238,7 +238,7 @@
|
|||||||
android:exported="false"
|
android:exported="false"
|
||||||
android:foregroundServiceType="specialUse"
|
android:foregroundServiceType="specialUse"
|
||||||
android:label="@string/app_name"
|
android:label="@string/app_name"
|
||||||
android:process=":RunSoLibV2RayDaemon">
|
android:process=":daemon">
|
||||||
<property
|
<property
|
||||||
android:name="android.app.PROPERTY_SPECIAL_USE_FGS_SUBTYPE"
|
android:name="android.app.PROPERTY_SPECIAL_USE_FGS_SUBTYPE"
|
||||||
android:value="proxy" />
|
android:value="proxy" />
|
||||||
@@ -249,7 +249,7 @@
|
|||||||
android:exported="false"
|
android:exported="false"
|
||||||
android:foregroundServiceType="specialUse"
|
android:foregroundServiceType="specialUse"
|
||||||
android:label="@string/app_name"
|
android:label="@string/app_name"
|
||||||
android:process=":RunSoLibV2RayDaemon">
|
android:process=":daemon">
|
||||||
<property
|
<property
|
||||||
android:name="android.app.PROPERTY_SPECIAL_USE_FGS_SUBTYPE"
|
android:name="android.app.PROPERTY_SPECIAL_USE_FGS_SUBTYPE"
|
||||||
android:value="proxy" />
|
android:value="proxy" />
|
||||||
@@ -259,7 +259,7 @@
|
|||||||
android:name=".service.CoreTestService"
|
android:name=".service.CoreTestService"
|
||||||
android:exported="false"
|
android:exported="false"
|
||||||
android:foregroundServiceType="specialUse"
|
android:foregroundServiceType="specialUse"
|
||||||
android:process=":RunSoLibV2RayDaemon">
|
android:process=":tasks">
|
||||||
<property
|
<property
|
||||||
android:name="android.app.PROPERTY_SPECIAL_USE_FGS_SUBTYPE"
|
android:name="android.app.PROPERTY_SPECIAL_USE_FGS_SUBTYPE"
|
||||||
android:value="test" />
|
android:value="test" />
|
||||||
@@ -269,7 +269,7 @@
|
|||||||
android:name=".service.SubscriptionUpdateService"
|
android:name=".service.SubscriptionUpdateService"
|
||||||
android:exported="false"
|
android:exported="false"
|
||||||
android:foregroundServiceType="specialUse"
|
android:foregroundServiceType="specialUse"
|
||||||
android:process=":RunSoLibV2RayDaemon">
|
android:process=":tasks">
|
||||||
<property
|
<property
|
||||||
android:name="android.app.PROPERTY_SPECIAL_USE_FGS_SUBTYPE"
|
android:name="android.app.PROPERTY_SPECIAL_USE_FGS_SUBTYPE"
|
||||||
android:value="test" />
|
android:value="test" />
|
||||||
@@ -278,7 +278,7 @@
|
|||||||
<receiver
|
<receiver
|
||||||
android:name=".receiver.WidgetProvider"
|
android:name=".receiver.WidgetProvider"
|
||||||
android:exported="true"
|
android:exported="true"
|
||||||
android:process=":RunSoLibV2RayDaemon">
|
android:process=":daemon">
|
||||||
<meta-data
|
<meta-data
|
||||||
android:name="android.appwidget.provider"
|
android:name="android.appwidget.provider"
|
||||||
android:resource="@xml/app_widget_provider" />
|
android:resource="@xml/app_widget_provider" />
|
||||||
@@ -306,7 +306,7 @@
|
|||||||
android:icon="@drawable/ic_stat_name"
|
android:icon="@drawable/ic_stat_name"
|
||||||
android:label="@string/app_tile_name"
|
android:label="@string/app_tile_name"
|
||||||
android:permission="android.permission.BIND_QUICK_SETTINGS_TILE"
|
android:permission="android.permission.BIND_QUICK_SETTINGS_TILE"
|
||||||
android:process=":RunSoLibV2RayDaemon">
|
android:process=":daemon">
|
||||||
<intent-filter>
|
<intent-filter>
|
||||||
<action android:name="android.service.quicksettings.action.QS_TILE" />
|
<action android:name="android.service.quicksettings.action.QS_TILE" />
|
||||||
</intent-filter>
|
</intent-filter>
|
||||||
@@ -327,7 +327,7 @@
|
|||||||
<receiver
|
<receiver
|
||||||
android:name=".receiver.TaskerReceiver"
|
android:name=".receiver.TaskerReceiver"
|
||||||
android:exported="true"
|
android:exported="true"
|
||||||
android:process=":RunSoLibV2RayDaemon"
|
android:process=":daemon"
|
||||||
tools:ignore="ExportedReceiver">
|
tools:ignore="ExportedReceiver">
|
||||||
<intent-filter>
|
<intent-filter>
|
||||||
<action android:name="com.twofortyfouram.locale.intent.action.FIRE_SETTING" />
|
<action android:name="com.twofortyfouram.locale.intent.action.FIRE_SETTING" />
|
||||||
|
|||||||
Reference in new issue
Block a user