aboutsummaryrefslogtreecommitdiff
path: root/doze/res/xml/doze_settings.xml
diff options
context:
space:
mode:
Diffstat (limited to 'doze/res/xml/doze_settings.xml')
-rw-r--r--doze/res/xml/doze_settings.xml9
1 files changed, 8 insertions, 1 deletions
diff --git a/doze/res/xml/doze_settings.xml b/doze/res/xml/doze_settings.xml
index fe4fa0a..72823dc 100644
--- a/doze/res/xml/doze_settings.xml
+++ b/doze/res/xml/doze_settings.xml
@@ -15,7 +15,14 @@
See the License for the specific language governing permissions and
limitations under the License.
-->
-<PreferenceScreen xmlns:android="http://schemas.android.com/apk/res/android">
+<PreferenceScreen
+ xmlns:android="http://schemas.android.com/apk/res/android"
+ android:title="@string/ambient_display_title">
+
+ <com.android.settingslib.widget.MainSwitchPreference
+ android:defaultValue="false"
+ android:key="doze_enable"
+ android:title="@string/ambient_display_enable_title" />
<PreferenceCategory
android:key="tilt_sensor"