CMParts: Add touchscreen gesture settings and keyhandler
With the new TouchscreenGesture CMHW API, devices can advertise
support for different sorts of touchscreen gestures.
Add settings in CMParts to allow users to configure each and
every one of the gesture to their liking.
Change-Id: I7c0f80cbae52ee85b9fdf12bdcebe99a78febd6a
diff --git a/AndroidManifest.xml b/AndroidManifest.xml
index d4f37a2..3c58c3f 100644
--- a/AndroidManifest.xml
+++ b/AndroidManifest.xml
@@ -42,6 +42,7 @@
<protected-broadcast android:name="cyanogenmod.platform.app.profiles.PROFILES_STATE_CHANGED" />
<protected-broadcast android:name="org.cyanogenmod.cmparts.PART_CHANGED" />
<protected-broadcast android:name="org.cyanogenmod.cmparts.REFRESH_PART" />
+ <protected-broadcast android:name="org.cyanogenmod.cmparts.gestures.UPDATE_SETTINGS" />
<application android:label="@string/cmparts_title"
android:theme="@style/Theme.Settings"
@@ -132,6 +133,8 @@
android:value="button_settings" />
</activity-alias>
+ <activity android:name=".gestures.KeyHandler" />
+
<!-- Profiles settings (dashboard) -->
<activity-alias
android:name=".profiles.ProfilesSettings"