Avicii: Ancient OS Bringup

This commit is contained in:
2023-11-05 15:47:31 +00:00
parent 1edcb1863b
commit 18d449f20e
12 changed files with 19 additions and 9 deletions

View File

@@ -0,0 +1,81 @@
<?xml version="1.0" encoding="utf-8"?>
<!--
Copyright (C) 2015-2016 The CyanogenMod Project
2017-2021 The LineageOS Project
SPDX-License-Identifier: Apache-2.0
-->
<resources>
<!-- Default value for proximity check on screen wake
NOTE ! - Enable for devices that have a fast response proximity sensor (ideally < 300ms)-->
<bool name="config_proximityCheckOnWake">true</bool>
<bool name="config_proximityCheckOnWakeEnabledByDefault">true</bool>
<!-- Paths to the libraries that contain device specific key handlers -->
<string-array name="config_deviceKeyHandlerLibs" translatable="false">
<item>/system_ext/app/KeyHandler/KeyHandler.apk</item>
<item>/system_ext/priv-app/LineageParts/LineageParts.apk</item>
</string-array>
<!-- Names of the key handler classes -->
<string-array name="config_deviceKeyHandlerClasses" translatable="false">
<item>org.lineageos.settings.device.KeyHandler</item>
<item>org.lineageos.lineageparts.gestures.KeyHandler</item>
</string-array>
<!-- Hardware keys present on the device, stored as a bit field.
This integer should equal the sum of the corresponding value for each
of the following keys present:
1 - Home
2 - Back
4 - Menu
8 - Assistant (search)
16 - App switch
32 - Camera
64 - Volume rocker
For example, a device with Home, Back and Menu keys would set this
config to 7. -->
<integer name="config_deviceHardwareKeys">64</integer>
<!-- Hardware keys present on the device with the ability to wake, stored as a bit field.
This integer should equal the sum of the corresponding value for each
of the following keys present:
1 - Home
2 - Back
4 - Menu
8 - Assistant (search)
16 - App switch
32 - Camera
64 - Volume rocker
For example, a device with Home, Back and Menu keys would set this
config to 7. -->
<integer name="config_deviceHardwareWakeKeys">64</integer>
<!-- Whether device has screen with higher aspect ratio -->
<bool name="config_haveHigherAspectRatioScreen">true</bool>
<!-- The list of package IDs that are not allowed to use aux cameras. -->
<string-array name="config_cameraAuxPackageExcludeList" translatable="false">
<item>org.telegram.messenger</item>
<item>org.thunderdog.challegram</item>
<item>us.zoom.videomeetings</item>
</string-array>
<!-- Whether devices suports in-display fingerprint when screen is off -->
<bool name="config_supportsScreenOffUdfps">true</bool>
<!-- The list of package IDs that are allowed to skip camera high frame rate checks. -->
<string-array name="config_cameraHFRPrivAppList" translatable="false">
<item>com.android.camera</item>
<item>org.lineageos.aperture</item>
</string-array>
<!-- Defines the actions shown in advanced reboot submenu -->
<string-array name="config_restartActionsList">
<item>restart</item>
<item>restart_systemui</item>
<item>restart_recovery</item>
<item>restart_bootloader</item>
<item>restart_fastboot</item>
</string-array>
</resources>

View File

@@ -0,0 +1,10 @@
<?xml version="1.0" encoding="utf-8"?>
<!--
Copyright (C) 2014-2015 The CyanogenMod Project
2019-2021 The LineageOS Project
SPDX-License-Identifier: Apache-2.0
-->
<resources>
<!-- Default for LineageSettings.Secure.VOLUME_PANEL_ON_LEFT -->
<bool name="def_volume_panel_on_left">true</bool>
</resources>