Add DeviceParts with most of Doze and Gestures features
Taken from oneplus6 and edit for our zenfone 6
diff --git a/DeviceParts/res/xml/doze_settings.xml b/DeviceParts/res/xml/doze_settings.xml
new file mode 100644
index 0000000..13c2037
--- /dev/null
+++ b/DeviceParts/res/xml/doze_settings.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">
+ <SwitchPreference
+ android:key="wave_check"
+ android:summary="@string/wave_check_summary"
+ android:title="@string/wave_check_title"
+ android:persistent="false" />
+ <SwitchPreference
+ android:key="pocket_check"
+ android:summary="@string/pocket_check_summary"
+ android:title="@string/pocket_check_title"
+ android:persistent="false" />
+ <SwitchPreference
+ android:key="tilt_check"
+ android:summary="@string/tilt_check_summary"
+ android:title="@string/tilt_check_title"
+ android:persistent="false" />
+ <Preference
+ android:key="footer"
+ android:summary="@string/ambient_display_enable"
+ android:persistent="false"
+ android:icon="@drawable/ic_info_outline_24dp" />
+</PreferenceScreen>