LeOS-GSI/patches/leos/platform_frameworks_base/0005-defaults.patch

87 lines
3.9 KiB
Diff

From 412b46e65d18cd60320c6ac4916081b6b87262d5 Mon Sep 17 00:00:00 2001
From: harvey186 <harvey186@hotmail.com>
Date: Thu, 14 Dec 2023 17:24:42 +0100
Subject: [PATCH] defaults
Change-Id: I8b577afb340732fd43ce4d9471edcd759e76bfd2
---
core/res/res/values/config.xml | 6 +++---
packages/SettingsProvider/res/values/defaults.xml | 10 +++++-----
2 files changed, 8 insertions(+), 8 deletions(-)
diff --git a/core/res/res/values/config.xml b/core/res/res/values/config.xml
index f015b485dfa6..5282a2315ebc 100644
--- a/core/res/res/values/config.xml
+++ b/core/res/res/values/config.xml
@@ -483,7 +483,7 @@
<!-- Flag indicating whether we should enable the automatic brightness.
Software implementation will be used if config_hardware_auto_brightness_available is not set -->
- <bool name="config_automatic_brightness_available">false</bool>
+ <bool name="config_automatic_brightness_available">true</bool>
<!-- Flag indicating whether we should enable the adaptive sleep.-->
<bool name="config_adaptive_sleep_available">false</bool>
@@ -872,7 +872,7 @@
1 - MODE_NIGHT_NO
2 - MODE_NIGHT_YES
-->
- <integer name="config_defaultNightMode">1</integer>
+ <integer name="config_defaultNightMode">2</integer>
<!-- Boolean indicating whether the HWC setColorTransform function can be performed efficiently
in hardware. -->
@@ -2472,7 +2472,7 @@
<bool name="config_actionMenuItemAllCaps">true</bool>
<!-- Remote server that can provide NTP responses. -->
- <string translatable="false" name="config_ntpServer">time.android.com</string>
+ <string translatable="false" name="config_ntpServer">pool.ntp.org</string>
<!-- Normal polling frequency in milliseconds -->
<integer name="config_ntpPollingInterval">64800000</integer>
<!-- Try-again polling interval in milliseconds, in case the network request failed -->
diff --git a/packages/SettingsProvider/res/values/defaults.xml b/packages/SettingsProvider/res/values/defaults.xml
index 99b15db780dc..43506fe44ec2 100644
--- a/packages/SettingsProvider/res/values/defaults.xml
+++ b/packages/SettingsProvider/res/values/defaults.xml
@@ -31,12 +31,12 @@
<bool name="def_accelerometer_rotation">false</bool>
<!-- Default screen brightness, from 0 to 255. 102 is 40%. -->
<integer name="def_screen_brightness">102</integer>
- <bool name="def_screen_brightness_automatic_mode">false</bool>
+ <bool name="def_screen_brightness_automatic_mode">true</bool>
<fraction name="def_window_animation_scale">100%</fraction>
<fraction name="def_window_transition_scale">100%</fraction>
<bool name="def_haptic_feedback">true</bool>
- <bool name="def_bluetooth_on">true</bool>
+ <bool name="def_bluetooth_on">false</bool>
<bool name="def_wifi_display_on">false</bool>
<bool name="def_install_non_market_apps">false</bool>
<!-- 0 == off, 3 == on -->
@@ -172,10 +172,10 @@
<integer name="def_heads_up_enabled">1</integer>
<!-- Default for Settings.Global.DEVICE_NAME $1=MANUFACTURER $2=MODEL-->
- <string name="def_device_name">%1$s %2$s</string>
+ <string name="def_device_name">%1$s LeOS-20</string>
<!-- Default for Settings.Global.DEVICE_NAME $1=MODEL-->
- <string name="def_device_name_simple">%1$s</string>
+ <string name="def_device_name_simple">LeOS-U</string>
<!-- Default for Settings.Secure.WAKE_GESTURE_ENABLED -->
<bool name="def_wake_gesture_enabled">true</bool>
@@ -255,7 +255,7 @@
<integer name="def_accessibility_magnification_capabilities">3</integer>
<!-- Default for Settings.Global.DEVELOPMENT_ENABLE_NON_RESIZABLE_MULTI_WINDOW -->
- <bool name="def_enable_non_resizable_multi_window">false</bool>
+ <bool name="def_enable_non_resizable_multi_window">true</bool>
<!-- Default for Settings.Secure.ACCESSIBILITY_BUTTON_MODE -->
<integer name="def_accessibility_button_mode">1</integer>
--
2.34.1