Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 4d0cc7a1 authored by Bill Lin's avatar Bill Lin
Browse files

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
parent 8ed7411e
Loading
Loading
Loading
Loading
+0 −4
Original line number Diff line number Diff line
@@ -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" />