Commit 76a42f5b authored by Mygod's avatar Mygod

Fix quick switch

R/W SharedPreference should be restricted to one process only since it's not process-safe.
parent 99fd8f1e
......@@ -56,7 +56,6 @@
<activity
android:name=".ShadowsocksRunnerActivity"
android:process=":bg"
android:theme="@android:style/Theme.NoDisplay"
android:excludeFromRecents="true"
android:launchMode="singleTask">
......@@ -100,7 +99,6 @@
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" />
......@@ -108,7 +106,6 @@
</activity>
<activity android:name=".ShadowsocksQuickSwitchActivity"
android:process=":bg"
android:launchMode="singleInstance"
android:excludeFromRecents="true"
android:taskAffinity=""
......@@ -121,7 +118,6 @@
<service
android:name=".ShadowsocksRunnerService"
android:process=":bg"
android:exported="false">
</service>
......@@ -151,13 +147,13 @@
</intent-filter>
</service>
<receiver android:name=".BootReceiver" android:enabled="false" android:process=":bg">
<receiver android:name=".BootReceiver" android:enabled="false">
<intent-filter>
<action android:name="android.intent.action.BOOT_COMPLETED"/>
</intent-filter>
</receiver>
<receiver android:name=".TaskerReceiver" tools:ignore="ExportedReceiver" android:process=":bg">
<receiver android:name=".TaskerReceiver" tools:ignore="ExportedReceiver">
<intent-filter>
<action android:name="com.twofortyfouram.locale.intent.action.FIRE_SETTING"/>
</intent-filter>
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment