Signed-off-by: Pranav Vashi <neobuddy89@gmail.com> Signed-off-by: Hưng Phan <phandinhhungvp2001@gmail.com>
79 lines
3.3 KiB
XML
79 lines
3.3 KiB
XML
<?xml version="1.0" encoding="utf-8"?>
|
|
<!-- Copyright (C) 2016 Nitrogen 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"
|
|
android:title="@string/misc_title"
|
|
xmlns:settings="http://schemas.android.com/apk/res/com.android.settings">
|
|
|
|
<com.cherish.settings.preferences.SystemSettingSwitchPreference
|
|
android:key="status_bar_brightness_control"
|
|
android:title="@string/status_bar_toggle_brightness"
|
|
android:summary="@string/status_bar_toggle_brightness_summary"
|
|
android:defaultValue="false" />
|
|
|
|
<com.cherish.settings.preferences.SystemSettingSwitchPreference
|
|
android:key="charging_animation"
|
|
android:title="@string/charging_animation_title"
|
|
android:summary="@string/charging_animation_summary"
|
|
android:defaultValue="false" />
|
|
|
|
<!-- Display Cutout -->
|
|
<Preference
|
|
android:key="display_cutout_force_fullscreen_settings"
|
|
android:title="@string/display_cutout_force_fullscreen_title"
|
|
android:summary="@string/display_cutout_force_fullscreen_summary">
|
|
<intent android:action="android.intent.action.MAIN"
|
|
android:targetPackage="com.android.settings"
|
|
android:targetClass="com.cherish.settings.fragments.DisplayCutoutForceFullscreenActivity"/>
|
|
</Preference>
|
|
|
|
<com.cherish.settings.preferences.SystemSettingSwitchPreference
|
|
android:key="use_photos_spoof"
|
|
android:title="@string/use_photos_spoof_title"
|
|
android:summary="@string/use_photos_spoof_summary"
|
|
android:defaultValue="true"
|
|
android:persistent="false" />
|
|
|
|
<com.cherish.settings.preferences.SystemSettingSwitchPreference
|
|
android:key="use_stream_spoof"
|
|
android:title="@string/use_stream_spoof_title"
|
|
android:summary="@string/use_stream_spoof_summary"
|
|
android:defaultValue="true"
|
|
android:persistent="false" />
|
|
|
|
<PreferenceCategory
|
|
android:key="burnin_category"
|
|
android:title="@string/burnin_category">
|
|
|
|
<com.cherish.settings.preferences.SystemSettingSwitchPreference
|
|
android:key="burn_in_protection"
|
|
android:title="@string/burn_in_protection_title"
|
|
android:summary="@string/burn_in_protection_summary"
|
|
android:defaultValue="true" />
|
|
|
|
<com.cherish.settings.preferences.SystemSettingSeekBarPreference
|
|
android:key="burn_in_protection_interval"
|
|
android:title="@string/burn_in_protection_interval_title"
|
|
android:max="120"
|
|
android:min="45"
|
|
settings:units="@string/unit_x1000ms"
|
|
android:dependency="burn_in_protection"
|
|
android:defaultValue="60" />
|
|
|
|
</PreferenceCategory>
|
|
|
|
</PreferenceScreen>
|