Add DeviceParts with most of Doze and Gestures features
Taken from oneplus6 and edit for our zenfone 6
diff --git a/DeviceParts/res/xml/main.xml b/DeviceParts/res/xml/main.xml
new file mode 100644
index 0000000..58377c4
--- /dev/null
+++ b/DeviceParts/res/xml/main.xml
@@ -0,0 +1,37 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!-- Copyright (C) 2014-2016 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">
+ <Preference
+ android:key="gesture_category"
+ android:title="@string/category_gestures_title"
+ android:summary="@string/category_gestures_summary"
+ android:persistent="false" >
+ <intent android:action="android.intent.action.MAIN"
+ android:targetPackage="org.omnirom.device"
+ android:targetClass="org.omnirom.device.GestureSettingsActivity" />
+ </Preference>
+
+ <Preference
+ android:key="doze_category"
+ android:title="@string/doze_category_title"
+ android:summary="@string/doze_category_summary"
+ android:persistent="false" >
+ <intent android:action="android.intent.action.MAIN"
+ android:targetPackage="org.omnirom.device"
+ android:targetClass="org.omnirom.device.DozeSettingsActivity" />
+ </Preference>
+
+</PreferenceScreen>