Turn off deep link components by default

We should only enable necessary components when
device supports the split activity feature.

Test: Enable/Disable components and make sure things work well.
Bug: 204405245
Change-Id: Icb03e121eed0e584bebe1c9c838d0f4f44015abf
This commit is contained in:
Tsung-Mao Fang
2021-12-08 20:23:13 +08:00
parent af87b942f6
commit 3943de1579

View File

@@ -151,6 +151,7 @@
android:taskAffinity=""
android:launchMode="singleTask"
android:exported="true"
android:enabled="false"
android:configChanges="orientation|keyboard|keyboardHidden|screenSize|screenLayout"
android:permission="android.permission.LAUNCH_MULTI_PANE_SETTINGS_DEEP_LINK">
<intent-filter>
@@ -308,6 +309,7 @@
<receiver android:name=".search.SearchStateReceiver"
android:exported="true"
android:enabled="false"
android:permission="android.permission.READ_SEARCH_INDEXABLES">
<intent-filter>
<action android:name="com.android.settings.SEARCH_START"/>