commit | 78d20156387deb6fa51b8cac35a495a5f4e8b5be | [log] [tgz] |
---|---|---|
author | Luca Stefani <luca.stefani.ge1@gmail.com> | Sun Jul 15 20:16:49 2018 +0200 |
committer | Tim Zimmermann <tim@linux4.de> | Wed Jul 21 18:37:51 2021 +0200 |
tree | 0fe3f360d30fbf4eb9fdebfea290267aea379acf | |
parent | d37d52c590a2a45c01daf290d4d24180af77217e [diff] |
d2x: Device has a notch This removes Network Traffic and Centered Clock options from Status Bar settings. These settings do not work as expected, as the notch obscures the components. Network Traffic: https://github.com/LineageOS/android_packages_apps_LineageParts/blob/ec491e41edea14fd6eb83eec4ac05728bc434d78/src/org/lineageos/lineageparts/statusbar/StatusBarSettings.java#L85 Centered Clock: https://github.com/LineageOS/android_packages_apps_LineageParts/blob/ec491e41edea14fd6eb83eec4ac05728bc434d78/src/org/lineageos/lineageparts/statusbar/StatusBarSettings.java#L130 Change-Id: I15dc40135ba913d51c9a3d8cacdc0ac172f4ce4a
diff --git a/overlay/lineage-sdk/lineage/res/res/values/config.xml b/overlay/lineage-sdk/lineage/res/res/values/config.xml new file mode 100644 index 0000000..a19b6b6 --- /dev/null +++ b/overlay/lineage-sdk/lineage/res/res/values/config.xml
@@ -0,0 +1,17 @@ +<?xml version="1.0" encoding="utf-8"?> +<!-- + Copyright (C) 2020 The LineageOS 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> + <!-- Whether device has a notch --> + <bool name="config_haveNotch">true</bool> +</resources>