sm8250-common: overlay: Import relevant custom changes made prior to RROs
Change-Id: Id3e5c5548088209a2459217dcdfe78fb59ff7221
This commit is contained in:
committed by
LuK1337
parent
1dec88e407
commit
9fd2a3a103
10
overlay/OPlusFrameworksResCommon/Android.bp
Normal file
10
overlay/OPlusFrameworksResCommon/Android.bp
Normal file
@@ -0,0 +1,10 @@
|
||||
//
|
||||
// Copyright (C) 2022 The LineageOS Project
|
||||
// SPDX-License-Identifier: Apache-2.0
|
||||
//
|
||||
|
||||
runtime_resource_overlay {
|
||||
name: "OPlusFrameworksResCommon",
|
||||
sdk_version: "current",
|
||||
device_specific: true,
|
||||
}
|
||||
13
overlay/OPlusFrameworksResCommon/AndroidManifest.xml
Normal file
13
overlay/OPlusFrameworksResCommon/AndroidManifest.xml
Normal file
@@ -0,0 +1,13 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!--
|
||||
Copyright (C) 2022 The LineageOS Project
|
||||
SPDX-License-Identifier: Apache-2.0
|
||||
-->
|
||||
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
package="android.overlay.oplus">
|
||||
|
||||
<overlay
|
||||
android:isStatic="true"
|
||||
android:priority="300"
|
||||
android:targetPackage="android" />
|
||||
</manifest>
|
||||
73
overlay/OPlusFrameworksResCommon/res/values/config.xml
Normal file
73
overlay/OPlusFrameworksResCommon/res/values/config.xml
Normal file
@@ -0,0 +1,73 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!--
|
||||
Copyright (C) 2022 The LineageOS Project
|
||||
SPDX-License-Identifier: Apache-2.0
|
||||
-->
|
||||
<resources>
|
||||
|
||||
<!-- Indicate whether closing the lid causes the device to go to sleep and opening
|
||||
it causes the device to wake up.
|
||||
The default is false. -->
|
||||
<bool name="config_lidControlsSleep">true</bool>
|
||||
|
||||
<!-- True if camera app should be pinned via Pinner Service -->
|
||||
<bool name="config_pinnerCameraApp">true</bool>
|
||||
|
||||
<!-- True if home app should be pinned via Pinner Service -->
|
||||
<bool name="config_pinnerHomeApp">true</bool>
|
||||
|
||||
<!-- Indicate whether to allow the device to suspend when the screen is off
|
||||
due to the proximity sensor. This resource should only be set to true
|
||||
if the sensor HAL correctly handles the proximity sensor as a wake-up source.
|
||||
Otherwise, the device may fail to wake out of suspend reliably.
|
||||
The default is false. -->
|
||||
<bool name="config_suspendWhenScreenOffDueToProximity">true</bool>
|
||||
|
||||
<!-- Whether device supports double tap to wake -->
|
||||
<bool name="config_supportDoubleTapWake">true</bool>
|
||||
|
||||
<!-- True if the device supports Sustained Performance Mode-->
|
||||
<bool name="config_sustainedPerformanceModeSupported">true</bool>
|
||||
|
||||
<!-- Vibrator pattern for feedback about a long screen/key press -->
|
||||
<integer-array name="config_longPressVibePattern">
|
||||
<item>0</item>
|
||||
<item>10</item>
|
||||
</integer-array>
|
||||
|
||||
<!-- Vibrator pattern for feedback about touching a virtual key -->
|
||||
<integer-array name="config_virtualKeyVibePattern">
|
||||
<item>0</item>
|
||||
<item>10</item>
|
||||
</integer-array>
|
||||
|
||||
<!-- Vibrator pattern for a very short but reliable vibration for soft keyboard tap -->
|
||||
<integer-array name="config_keyboardTapVibePattern">
|
||||
<item>10</item>
|
||||
</integer-array>
|
||||
|
||||
<!-- Indicate available ColorDisplayManager.COLOR_MODE_xxx. -->
|
||||
<integer-array name="config_availableColorModes">
|
||||
<item>0</item>
|
||||
<item>256</item>
|
||||
<item>258</item>
|
||||
<item>259</item>
|
||||
</integer-array>
|
||||
|
||||
<!-- Default list of files pinned by the Pinner Service -->
|
||||
<string-array translatable="false" name="config_defaultPinnerServiceFiles">
|
||||
<item>"/system/framework/framework.jar"</item>
|
||||
<item>"/system/framework/services.jar"</item>
|
||||
<item>"/apex/com.android.art/javalib/core-oj.jar"</item>
|
||||
<item>"/apex/com.android.art/javalib/core-libart.jar"</item>
|
||||
<item>"/apex/com.android.media/javalib/updatable-media.jar"</item>
|
||||
<item>"/system_ext/priv-app/SystemUI/SystemUI.apk"</item>
|
||||
<item>"/system/bin/surfaceflinger"</item>
|
||||
</string-array>
|
||||
|
||||
<!-- Screen brightness used to dim the screen while dozing in a very low power state.
|
||||
May be less than the minimum allowed brightness setting
|
||||
that can be set by the user. -->
|
||||
<integer name="config_screenBrightnessDoze">17</integer>
|
||||
|
||||
</resources>
|
||||
10
overlay/OPlusSettingsResCommon/Android.bp
Normal file
10
overlay/OPlusSettingsResCommon/Android.bp
Normal file
@@ -0,0 +1,10 @@
|
||||
//
|
||||
// Copyright (C) 2022 The LineageOS Project
|
||||
// SPDX-License-Identifier: Apache-2.0
|
||||
//
|
||||
|
||||
runtime_resource_overlay {
|
||||
name: "OPlusSettingsResCommon",
|
||||
sdk_version: "current",
|
||||
device_specific: true,
|
||||
}
|
||||
13
overlay/OPlusSettingsResCommon/AndroidManifest.xml
Normal file
13
overlay/OPlusSettingsResCommon/AndroidManifest.xml
Normal file
@@ -0,0 +1,13 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!--
|
||||
Copyright (C) 2022 The LineageOS Project
|
||||
SPDX-License-Identifier: Apache-2.0
|
||||
-->
|
||||
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
package="com.android.settings.overlay.oplus">
|
||||
|
||||
<overlay
|
||||
android:isStatic="true"
|
||||
android:priority="300"
|
||||
android:targetPackage="com.android.settings" />
|
||||
</manifest>
|
||||
31
overlay/OPlusSettingsResCommon/res/values/config.xml
Normal file
31
overlay/OPlusSettingsResCommon/res/values/config.xml
Normal file
@@ -0,0 +1,31 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!--
|
||||
Copyright (C) 2022 The LineageOS Project
|
||||
SPDX-License-Identifier: Apache-2.0
|
||||
-->
|
||||
<resources>
|
||||
|
||||
<!-- Display settings screen, Color mode options. Must be the same length and order as
|
||||
config_color_mode_options_values below. Only the values that also appear in
|
||||
frameworks/base/core/res/res/values/config.xml's config_availableColorModes are shown. -->
|
||||
<string-array name="config_color_mode_options_strings" translatable="false">
|
||||
<item>Vivid</item>
|
||||
<item>Natural</item>
|
||||
<item>Cinematic</item>
|
||||
<item>Brilliant</item>
|
||||
</string-array>
|
||||
|
||||
<!-- Display settings screen, Color mode options. Must be the same length and order as
|
||||
config_color_mode_options_strings above. Only the values that also appear in
|
||||
frameworks/base/core/res/res/values/config.xml's config_availableColorModes are shown. -->
|
||||
<integer-array name="config_color_mode_options_values" translatable="false">
|
||||
<item>0</item>
|
||||
<item>256</item>
|
||||
<item>258</item>
|
||||
<item>259</item>
|
||||
</integer-array>
|
||||
|
||||
<!-- Whether to show Smooth Display feature in Settings Options -->
|
||||
<bool name="config_show_smooth_display">true</bool>
|
||||
|
||||
</resources>
|
||||
Reference in New Issue
Block a user