Fix ACTION_ONE_HANDED_SETTINGS breaks CTS IntentTest

The CTS test will check new added intent is expected or not
android.signature.cts.intent.IntentTest#shouldNotFindUnexpectedIntents

If the new added intent should belong to allow list,
we should add it into
cts/tests/signature/intent-check/DynamicConfig.xml

However, in One handed mode case, I think it's make
sense to define in settings provider
frameworks/base/core/java/android/provider/Settings.java

Test: atest android.signature.cts.intent.IntentTest
Fixes: 206824091
Fixes: 206989400
Change-Id: Ic32a65ee113df603a0adbfa3e52f1a48386ad899
This commit is contained in:
Bill Lin
2021-11-19 15:43:55 +08:00
parent 8ed7411e88
commit 4d0cc7a1e3

View File

@@ -4251,10 +4251,6 @@
android:label="@string/one_handed_title"
android:exported="true"
android:enabled="true">
<intent-filter android:priority="1">
<action android:name="android.intent.action.ONE_HANDED_SETTINGS" />
<category android:name="android.intent.category.DEFAULT" />
</intent-filter>
<intent-filter android:priority="1">
<action android:name="android.intent.action.MAIN" />
<category android:name="com.android.settings.SHORTCUT" />