(3/n) Handling long-pressed action for One-handed mode Quick Settings
tile
Handling Intent action when long-pressed on One-handed mode Quick
Settings tile .
Bug: 201743873
Bug: 202132480
Test: Manually test
Change-Id: Ib532bd1582fa87bd11c3ec1ee80ad771a78e96d2
diff --git a/AndroidManifest.xml b/AndroidManifest.xml
index a7de8fd..fecec39 100644
--- a/AndroidManifest.xml
+++ b/AndroidManifest.xml
@@ -4233,6 +4233,25 @@
android:theme="@style/SudThemeGlif.Light">
</activity>
+ <activity
+ android:name="Settings$OneHandedSettingsActivity"
+ 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" />
+ </intent-filter>
+ <meta-data android:name="com.android.settings.FRAGMENT_CLASS"
+ android:value="com.android.settings.gestures.OneHandedSettings"/>
+ <meta-data android:name="com.android.settings.PRIMARY_PROFILE_CONTROLLED"
+ android:value="true" />
+ </activity>
+
<!-- This is the longest AndroidManifest.xml ever. -->
</application>
</manifest>