mirror of
https://github.com/BobTheBlinker/android_device_motorola_sm6375-common.git
synced 2026-10-29 19:21:32 -04:00
sm6375-common: overlay: Enable auto brightness by default
Change-Id: I7026dfbf5ba14ad8f339468b22cfe67deed9933f
This commit is contained in:
parent
be3d300b71
commit
90efa422c0
4 changed files with 32 additions and 0 deletions
9
resource-overlay/common/SettingsProvider/Android.bp
Normal file
9
resource-overlay/common/SettingsProvider/Android.bp
Normal file
|
|
@ -0,0 +1,9 @@
|
|||
//
|
||||
// SPDX-FileCopyrightText: The LineageOS Project
|
||||
// SPDX-License-Identifier: Apache-2.0
|
||||
//
|
||||
|
||||
runtime_resource_overlay {
|
||||
name: "SettingsProviderResCommon",
|
||||
vendor: true,
|
||||
}
|
||||
13
resource-overlay/common/SettingsProvider/AndroidManifest.xml
Normal file
13
resource-overlay/common/SettingsProvider/AndroidManifest.xml
Normal file
|
|
@ -0,0 +1,13 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!--
|
||||
SPDX-FileCopyrightText: The LineageOS Project
|
||||
SPDX-License-Identifier: Apache-2.0
|
||||
-->
|
||||
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
package="com.android.providers.settings.overlay.common">
|
||||
|
||||
<overlay
|
||||
android:isStatic="true"
|
||||
android:priority="200"
|
||||
android:targetPackage="com.android.providers.settings" />
|
||||
</manifest>
|
||||
|
|
@ -0,0 +1,9 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!--
|
||||
SPDX-FileCopyrightText: The LineageOS Project
|
||||
SPDX-License-Identifier: Apache-2.0
|
||||
-->
|
||||
<resources>
|
||||
<!-- Set the automatic brightness mode on by default -->
|
||||
<bool name="def_screen_brightness_automatic_mode">true</bool>
|
||||
</resources>
|
||||
Loading…
Reference in a new issue