felix: Selectively update overlays from BP2A

Change-Id: Ie95d7833851771588581549ee900379c57683e46
This commit is contained in:
Michael Bestas 2025-06-25 12:19:15 +03:00 committed by Michael Bestas
parent 04ead3afe7
commit ebcbedcf7a
No known key found for this signature in database
8 changed files with 79 additions and 16 deletions

View file

@ -0,0 +1,18 @@
<?xml version="1.0" encoding="utf-8"?>
<!-- Copyright (C) 2024 The Android Open Source 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.
-->
<resources>
<fraction name="display_density_max_scale">116.79993%</fraction>
</resources>

View file

@ -24,9 +24,6 @@
entries do not follow the convention, but all new entries should. -->
<resources xmlns:xliff="urn:oasis:names:tc:xliff:document:1.2">
<!-- IWLAN-->
<string name="config_qualified_networks_service_package">com.android.qns</string>
<!-- If true, allows rotation resolver service to help resolve screen rotation. -->
<bool name="config_allowRotationResolver">false</bool>
@ -52,6 +49,7 @@
state. Default is empty. -->
<integer-array name="config_rearDisplayDeviceStates">
<item>3</item>
<item>5</item>
</integer-array>
<!-- The device states (supplied by DeviceStateManager) that should be treated as concurrent
@ -60,6 +58,10 @@
<item>4</item>
</integer-array>
<!-- Indicates whether the window manager reacts to half-fold device states by overriding
rotation. -->
<bool name="config_windowManagerHalfFoldAutoRotateOverride">false</bool>
<!-- Indicates whether the window manager pauses autorotation when folding or unfolding
a foldable device based on hinge angle sensor events and physical display switch events. -->
<bool name="config_windowManagerPauseRotationWhenUnfolding">true</bool>
@ -101,11 +103,15 @@
<item>3:0:0</item>
</string-array>
<!-- Whether to show Fold lock behavior setting feature in Settings App -->
<bool name="config_fold_lock_behavior">true</bool>
<!-- Device states where the sensor based rotation values should be reversed around the Z axis
for the default display.
TODO(b/265312193): Remove this workaround when this bug is fixed.-->
<integer-array name="config_deviceStatesToReverseDefaultDisplayRotationAroundZAxis">
<item>3</item>
<item>5</item>
</integer-array>
<!-- Boolean indicating whether secondary built-in displays should have their orientation
@ -122,9 +128,13 @@
global actions dialog -->
<integer name="config_globalActionsKeyTimeout">750</integer>
<!-- The fixed keyboard vibration strength in [0,1], or -1 to indicate the strength not fixed
and should depend on the touch feedback intensity user setting -->
<item name="config_keyboardHapticFeedbackFixedAmplitude" type="dimen">1.0</item>
<!-- Class name of the device specific implementation of DeviceStatePolicy.Provider
or empty if the default should be used. -->
<string translatable="false" name="config_deviceSpecificDeviceStatePolicyProvider">com.google.android.server.policy.FelixDeviceStatePolicyProvider</string>
<string name="config_deviceSpecificDeviceStatePolicyProvider" translatable="false">com.google.android.server.policy.FelixDeviceStatePolicyProvider</string>
<!-- Indicates whether device has a power button fingerprint sensor. -->
<bool name="config_is_powerbutton_fps">true</bool>
@ -138,12 +148,13 @@
<!-- Map of System DeviceState supplied by DeviceStateManager to WM Jetpack posture. Must be in
the format [System DeviceState]:[WM Jetpack Posture], for example: "0:1". -->
<string-array name="config_device_state_postures">
<string-array name="config_device_state_postures" translatable="false">
<item>0:1</item>
<item>1:2</item>
<item>2:3</item>
<item>3:1</item>
<item>4:1000</item>
<item>5:1</item>
</string-array>
<!-- Which Surface rotations are considered as tabletop posture (horizontal hinge) when the
@ -166,7 +177,7 @@
Note: Activity min/max aspect ratio restrictions will still be respected.
Therefore this override can control the maximum screen area that can be occupied by
the app in the letterbox mode. -->
<item name="config_fixedOrientationLetterboxAspectRatio" format="float" type="dimen">1.333</item>
<item name="config_fixedOrientationLetterboxAspectRatio" type="dimen">1.333</item>
<!-- Corners radius for activity presented the letterbox mode. Values < 0 enable rounded
corners with radius equal to min between device bottom corner radii. Default 0 value turns
@ -177,7 +188,7 @@
0 corresponds to the upper side of the screen and 1 to the lower side. If given value < 0
or > 1 it is ignored and for non-tabletop mode central position is used (0.5); for
tabletop mode top (0.0) is used. -->
<item type="dimen" name="config_letterboxVerticalPositionMultiplier">0.5</item>
<item name="config_letterboxVerticalPositionMultiplier" type="dimen">0.5</item>
<!-- Whether horizontal reachability repositioning is allowed for letterboxed fullscreen apps.
-->
@ -200,6 +211,10 @@
<!-- Whether using display aspect ratio as a default aspect ratio for all letterboxed apps. -->
<bool name="config_letterboxIsDisplayAspectRatioForFixedOrientationLetterboxEnabled">true</bool>
<!-- Whether should use split screen aspect ratio for the activity when camera compat treatment
is enabled and activity is connected to the camera in fullscreen. -->
<bool name="config_isWindowManagerCameraCompatSplitScreenAspectRatioEnabled">true</bool>
<!-- Whether the specific behaviour for translucent activities letterboxing is enabled.
TODO(b/255532890) Enable when ignoreOrientationRequest is set -->
<bool name="config_letterboxIsEnabledForTranslucentActivities">true</bool>
@ -221,14 +236,6 @@
split screen. -->
<bool name="config_isWindowManagerCameraCompatTreatmentEnabled">true</bool>
<!-- Whether should use split screen aspect ratio for the activity when camera compat treatment
is enabled and activity is connected to the camera in fullscreen. -->
<bool name="config_isWindowManagerCameraCompatSplitScreenAspectRatioEnabled">true</bool>
<!-- Whether a camera compat controller is enabled to allow the user to apply or revert
treatment for stretched issues in camera viewfinder. -->
<bool name="config_isCameraCompatControlForStretchedIssuesEnabled">true</bool>
<!-- List of the labels of requestable device state config values -->
<string-array name="config_deviceStatesAvailableForAppRequests">
<item>config_deviceStateRearDisplay</item>

View file

@ -0,0 +1,15 @@
<?xml version="1.0" encoding="utf-8"?>
<!--
SPDX-FileCopyrightText: The LineageOS Project
SPDX-License-Identifier: Apache-2.0
-->
<resources xmlns:xliff="urn:oasis:names:tc:xliff:document:1.2">
<!-- Indicating whether the retry timer from setup data call response for data throttling should
be honored for emergency network request. By default this is off, meaning for emergency
network requests, the data frameworks will ignore the previous retry timer passed in from
setup data call response. -->
<bool name="config_honor_data_retry_timer_for_emergency_network">true</bool>
<!-- Telephony qualified networks service package name to bind to by default. -->
<string name="config_qualified_networks_service_package" translatable="false">com.android.qns</string>
</resources>

View file

@ -0,0 +1,12 @@
<?xml version="1.0" encoding="utf-8"?>
<!--
SPDX-FileCopyrightText: The LineageOS Project
SPDX-License-Identifier: Apache-2.0
-->
<resources xmlns:xliff="urn:oasis:names:tc:xliff:document:1.2">
<!-- Whether the extended restart dialog is enabled -->
<bool name="config_letterboxIsRestartDialogEnabled">true</bool>
<!-- Whether the additional education about reachability is enabled -->
<bool name="config_letterboxIsReachabilityEducationEnabled">true</bool>
</resources>

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View file

@ -0,0 +1,9 @@
<?xml version="1.0" encoding="utf-8"?>
<!--
SPDX-FileCopyrightText: The LineageOS Project
SPDX-License-Identifier: Apache-2.0
-->
<resources xmlns:xliff="urn:oasis:names:tc:xliff:document:1.2">
<!-- The number of columns in the QuickSettings -->
<integer name="quick_settings_num_columns">2</integer>
</resources>

View file

@ -47,5 +47,5 @@
</string-array>
<!-- The ratio to use when using the two-pane settings layout -->
<item name="config_activity_embed_split_ratio" format="float" type="dimen">0.5</item>
<item name="config_activity_embed_split_ratio" type="dimen">0.5</item>
</resources>