* Implement DC Dimming preference * Disable DC Dimming if it's not supported * Implement HBM switch * Adapt HBM and DC dimming settings to S style * Define DC dimming and HBM nodes / keys in one place * Declare exported flags in manifest * Fix compilation for QPR1 * Fix compilation for Android 15 * Adapt to sm8350-common devices Co-Authored-By: Nauval Rizky <enuma.alrizky@gmail.com> Co-Authored-By: Adhitya Mohan <me@adhityamohan.in> Co-Authored-By: TheScarastic <warabhishek@gmail.com> Co-Authored-By: alibei <sebastiankotzias83@gmail.com> Co-Authored-By: kamikaonashi <thorschi93@gmx.at>
28 lines
1.1 KiB
XML
28 lines
1.1 KiB
XML
<?xml version="1.0" encoding="utf-8"?>
|
|
<!--
|
|
Copyright (C) 2015 The CyanogenMod Project
|
|
2018-2019 The LineageOS 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/dc_dimming_enable_title">
|
|
|
|
<SwitchPreference
|
|
android:key="dc_dimming_enable"
|
|
android:defaultValue="false"
|
|
android:icon="@drawable/ic_dcdimming"
|
|
android:title="@string/dc_dimming_enable_title"
|
|
android:summary="@string/dc_dimming_enable_summary" />
|
|
</PreferenceScreen>
|