Add DeviceParts with most of Doze and Gestures features
Taken from oneplus6 and edit for our zenfone 6
diff --git a/DeviceParts/res/xml/gesture_settings.xml b/DeviceParts/res/xml/gesture_settings.xml
new file mode 100644
index 0000000..c7ef445
--- /dev/null
+++ b/DeviceParts/res/xml/gesture_settings.xml
@@ -0,0 +1,98 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!-- Copyright (C) 2017 The OmniROM Project
+
+ Licensed under the Apache License, Version 2.0 (the "License");
+ you may not use this file except in compliance with the License.
+ You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+ Unless required by applicable law or agreed to in writing, software
+ distributed under the License is distributed on an "AS IS" BASIS,
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ See the License for the specific language governing permissions and
+ limitations under the License.
+-->
+<PreferenceScreen xmlns:android="http://schemas.android.com/apk/res/android">
+
+ <SwitchPreference
+ android:key="proxi"
+ android:summary="@string/proxi_summary_head"
+ android:title="@string/proxi_title_head"
+ android:persistent="false"
+ android:defaultValue="true" />
+
+ <PreferenceCategory
+ android:title="@string/fp_gesture_title"
+ android:key="key_fp_gesture_category" >
+
+ <Preference
+ android:key="gesture_settings"
+ android:title="@string/fp_swipe_down_switch_title_head"
+ android:summary="@string/fp_swipe_down_switch_summary_head" >
+ <intent android:action="android.intent.action.MAIN"
+ android:targetPackage="com.android.settings"
+ android:targetClass="com.android.settings.Settings$SwipeToNotificationSuggestionActivity" />
+ </Preference>
+
+ <org.omnirom.device.AppSelectListPreference
+ android:key="fp_long_press_gesture_app"
+ android:title="@string/category_fp_long_press_gesture"
+ android:persistent="false"/>
+ </PreferenceCategory>
+
+ <PreferenceCategory
+ android:title="@string/offscreen_gesture_title">
+
+ <org.omnirom.device.AppSelectListPreference
+ android:key="circle_gesture_app"
+ android:title="@string/category_circle_gesture"
+ android:persistent="false" />
+
+ <org.omnirom.device.AppSelectListPreference
+ android:key="double_swipe_gesture_app"
+ android:title="@string/category_double_swipe_gesture"
+ android:persistent="false" />
+
+ <org.omnirom.device.AppSelectListPreference
+ android:key="left_arrow_gesture_app"
+ android:title="@string/category_left_arrow_gesture"
+ android:persistent="false"/>
+
+ <org.omnirom.device.AppSelectListPreference
+ android:key="right_arrow_gesture_app"
+ android:title="@string/category_right_arrow_gesture"
+ android:persistent="false"/>
+
+ <org.omnirom.device.AppSelectListPreference
+ android:key="up_arrow_gesture_app"
+ android:title="@string/category_up_arrow_gesture"
+ android:persistent="false" />
+
+ <org.omnirom.device.AppSelectListPreference
+ android:key="down_arrow_gesture_app"
+ android:title="@string/category_down_arrow_gesture"
+ android:persistent="false"/>
+
+ <org.omnirom.device.AppSelectListPreference
+ android:key="down_swipe_gesture_app"
+ android:title="@string/category_down_swipe_gesture"
+ android:persistent="false"/>
+
+ <org.omnirom.device.AppSelectListPreference
+ android:key="up_swipe_gesture_app"
+ android:title="@string/category_up_swipe_gesture"
+ android:persistent="false"/>
+
+ <org.omnirom.device.AppSelectListPreference
+ android:key="left_swipe_gesture_app"
+ android:title="@string/category_left_swipe_gesture"
+ android:persistent="false"/>
+
+ <org.omnirom.device.AppSelectListPreference
+ android:key="right_swipe_gesture_app"
+ android:title="@string/category_right_swipe_gesture"
+ android:persistent="false"/>
+
+ </PreferenceCategory>
+</PreferenceScreen>