Move bg components to bg process

This commit is contained in:
Mygod
2016-06-17 16:41:12 +08:00
parent 89df2bc715
commit 94aeaaa89c
+6 -2
View File
@@ -55,6 +55,7 @@
<activity
android:name=".ShadowsocksRunnerActivity"
android:process=":bg"
android:theme="@android:style/Theme.NoDisplay"
android:launchMode="singleTask">
</activity>
@@ -89,6 +90,7 @@
android:launchMode="singleTask"/>
<activity android:name=".TaskerActivity"
android:process=":bg"
android:icon="@drawable/ic_launcher">
<intent-filter>
<action android:name="com.twofortyfouram.locale.intent.action.EDIT_SETTING" />
@@ -96,6 +98,7 @@
</activity>
<activity android:name=".ShadowsocksQuickSwitchActivity"
android:process=":bg"
android:launchMode="singleInstance"
android:excludeFromRecents="true"
android:taskAffinity=""
@@ -108,6 +111,7 @@
<service
android:name=".ShadowsocksRunnerService"
android:process=":bg"
android:exported="false">
</service>
@@ -137,13 +141,13 @@
</intent-filter>
</service>
<receiver android:name=".BootReceiver" android:enabled="false">
<receiver android:name=".BootReceiver" android:enabled="false" android:process=":bg">
<intent-filter>
<action android:name="android.intent.action.BOOT_COMPLETED"/>
</intent-filter>
</receiver>
<receiver android:name=".TaskerReceiver" tools:ignore="ExportedReceiver">
<receiver android:name=".TaskerReceiver" tools:ignore="ExportedReceiver" android:process=":bg">
<intent-filter>
<action android:name="com.twofortyfouram.locale.intent.action.FIRE_SETTING"/>
</intent-filter>