mirror of
https://github.com/PixelExperience-Devices/device_xiaomi_miatoll.git
synced 2025-05-20 13:07:16 +09:00
miatoll: remove redundant lineage overlays
also adapt notch overlays for pe Signed-off-by: Aryan Gupta <guptaaryan189@gmail.com>
This commit is contained in:
parent
98aaa1c40c
commit
a1bbe9324d
@ -1,26 +1,14 @@
|
||||
[
|
||||
{
|
||||
"repository": "LineageOS/android_hardware_xiaomi",
|
||||
"target_path": "hardware/xiaomi",
|
||||
"branch": "lineage-18.1",
|
||||
"remote": "github"
|
||||
},
|
||||
{
|
||||
"remote": "github",
|
||||
"repository": "ArrowOS-Devices/android_kernel_xiaomi_sm6250",
|
||||
"remote": "pixel-devices",
|
||||
"repository": "kernel_xiaomi_sm6250",
|
||||
"target_path": "kernel/xiaomi/sm6250",
|
||||
"branch": "arrow-11.0"
|
||||
"branch": "eleven"
|
||||
},
|
||||
{
|
||||
"remote": "github",
|
||||
"repository": "ArrowOS-Devices/android_vendor_xiaomi_sm6250-common",
|
||||
"target_path": "vendor/xiaomi/sm6250-common",
|
||||
"branch": "arrow-11.0"
|
||||
},
|
||||
{
|
||||
"remote": "github",
|
||||
"repository": "ArrowOS-Devices/android_vendor_xiaomi_miatoll",
|
||||
"remote": "pixel-devices-blobs",
|
||||
"repository": "vendor_xiaomi_miatoll",
|
||||
"target_path": "vendor/xiaomi/miatoll",
|
||||
"branch": "arrow-11.0"
|
||||
"branch": "eleven"
|
||||
}
|
||||
]
|
||||
|
@ -12,7 +12,7 @@ $(call inherit-product, vendor/xiaomi/sm6250-common/sm6250-common-vendor.mk)
|
||||
$(call inherit-product, vendor/xiaomi/miatoll/miatoll-vendor.mk)
|
||||
|
||||
# Enable updating of APEXes
|
||||
$(call inherit-product, $(SRC_TARGET_DIR)/product/updatable_apex.mk)
|
||||
#$(call inherit-product, $(SRC_TARGET_DIR)/product/updatable_apex.mk)
|
||||
|
||||
# Setup dalvik vm configs
|
||||
$(call inherit-product, frameworks/native/build/phone-xhdpi-4096-dalvik-heap.mk)
|
||||
|
@ -619,4 +619,14 @@
|
||||
<!-- Enable Zram writeback feature to allow unused pages in zram be written to flash. -->
|
||||
<bool name="config_zramWriteback">true</bool>
|
||||
|
||||
<!-- For example, a device with notification and battery lights that supports
|
||||
pulsating and RGB control would set this config to 75. -->
|
||||
<integer name="config_deviceLightCapabilities">224</integer>
|
||||
|
||||
<!-- Whether device has a physical display cutout -->
|
||||
<bool name="config_physicalDisplayCutout">true</bool>
|
||||
|
||||
<!-- Whether device has a physical display cutout centered -->
|
||||
<bool name="config_physicalDisplayCutoutCentered">true</bool>
|
||||
|
||||
</resources>
|
||||
|
@ -1,72 +0,0 @@
|
||||
<?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 screen with higher aspect ratio -->
|
||||
<bool name="config_haveHigherAspectRatioScreen">true</bool>
|
||||
|
||||
<!-- All the capabilities of the LEDs on this device, stored as a bit field.
|
||||
This integer should equal the sum of the corresponding value for each
|
||||
of the following capabilities present:
|
||||
|
||||
// Device has a color adjustable battery light.
|
||||
LIGHTS_RGB_NOTIFICATION_LED = 1
|
||||
|
||||
// Device has a color adjustable notification light.
|
||||
LIGHTS_RGB_BATTERY_LED = 2
|
||||
|
||||
LIGHTS_MULTIPLE_NOTIFICATION_LED = 4 (deprecated)
|
||||
|
||||
// The notification light has adjustable pulsing capability.
|
||||
LIGHTS_PULSATING_LED = 8
|
||||
|
||||
// Device has a multi-segment battery light that is able to
|
||||
// use the light brightness value to determine how many
|
||||
// segments to show (in order to represent battery level).
|
||||
LIGHTS_SEGMENTED_BATTERY_LED = 16
|
||||
|
||||
// The notification light supports HAL adjustable brightness
|
||||
// via the alpha channel.
|
||||
// Note: if a device notification light supports LIGHTS_RGB_NOTIFICATION_LED
|
||||
// then HAL support is not necessary for brightness control. In this case,
|
||||
// brightness support will be provided by lineage-sdk through the scaling of
|
||||
// RGB color values.
|
||||
LIGHTS_ADJUSTABLE_NOTIFICATION_LED_BRIGHTNESS = 32
|
||||
|
||||
// Device has a battery light.
|
||||
LIGHTS_BATTERY_LED = 64
|
||||
|
||||
// The battery light supports HAL adjustable brightness via
|
||||
// the alpha channel.
|
||||
// Note: if a device battery light supports LIGHTS_RGB_BATTERY_LED then HAL
|
||||
// support is not necessary for brightness control. In this case,
|
||||
// brightness support will be provided by lineage-sdk through the scaling of
|
||||
// RGB color values.
|
||||
LIGHTS_ADJUSTABLE_BATTERY_LED_BRIGHTNESS = 128
|
||||
|
||||
For example, a device with notification and battery lights that supports
|
||||
pulsating and RGB control would set this config to 75. -->
|
||||
<integer name="config_deviceLightCapabilities">224</integer>
|
||||
|
||||
<!-- Whether device has a notch -->
|
||||
<bool name="config_haveNotch">true</bool>
|
||||
|
||||
<!-- Defines the actions shown in advanced reboot submenu -->
|
||||
<string-array name="config_restartActionsList">
|
||||
<item>restart</item>
|
||||
<item>restart_recovery</item>
|
||||
<item>restart_bootloader</item>
|
||||
<item>restart_fastboot</item>
|
||||
</string-array>
|
||||
</resources>
|
@ -1,18 +0,0 @@
|
||||
<?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>
|
||||
<bool name="call_recording_enabled">true</bool>
|
||||
<integer name="call_recording_audio_source">4</integer>
|
||||
</resources>
|
@ -1,24 +0,0 @@
|
||||
<?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 xmlns:xliff="urn:oasis:names:tc:xliff:document:1.2">
|
||||
<!-- Defines the location of the fingerprint sensor on the device
|
||||
0 = back
|
||||
1 = front
|
||||
2 = left side
|
||||
3 = right side
|
||||
-->
|
||||
<integer name="config_fingerprintSensorLocation">3</integer>
|
||||
</resources>
|
@ -1,27 +0,0 @@
|
||||
<?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.
|
||||
-->
|
||||
|
||||
<!-- Camera app resources that may need to be customized
|
||||
for different hardware or product builds. -->
|
||||
<resources>
|
||||
<!-- Enable support for camera api v2 -->
|
||||
<bool name="support_camera_api_v2">true</bool>
|
||||
|
||||
<!-- Opens back camera using openLegacy() -->
|
||||
<bool name="back_camera_open_legacy">false</bool>
|
||||
|
||||
<!-- Opens front camera using openLegacy() -->
|
||||
<bool name="front_camera_open_legacy">false</bool>
|
||||
</resources>
|
@ -25,4 +25,11 @@
|
||||
have distinct intensity levels -->
|
||||
<bool name="config_vibration_supports_multiple_intensities">true</bool>
|
||||
|
||||
<!-- Defines the location of the fingerprint sensor on the device
|
||||
0 = back
|
||||
1 = front
|
||||
2 = left side
|
||||
3 = right side
|
||||
-->
|
||||
<integer name="config_fingerprintSensorLocation">3</integer>
|
||||
</resources>
|
||||
|
Loading…
x
Reference in New Issue
Block a user