mirror of
https://github.com/pjgowtham/android_device_realme_ferrarri.git
synced 2025-07-18 10:12:51 +00:00
instantnoodlep: Set density to 480 while in recovery mode
* This allows us to provide usable recovery image for people who are still on OxygenOS dtbo as unmodified stock dtbo defaults to 1080p. While it'll make UI slightly smaller on Lineage dtbo, it doesn't make it unacceptable. Change-Id: Ic216c9d17066765c1b06ffdd35f2543f412f18db
This commit is contained in:
parent
5261c29aec
commit
6ae6e6e555
@ -22,9 +22,6 @@ DEVICE_PATH := device/oneplus/instantnoodlep
|
||||
# Bluetooth
|
||||
BOARD_BLUETOOTH_BDROID_BUILDCFG_INCLUDE_DIR := $(DEVICE_PATH)/bluetooth/include
|
||||
|
||||
# Display
|
||||
TARGET_SCREEN_DENSITY := 560
|
||||
|
||||
# Fingerprint
|
||||
SOONG_CONFIG_ONEPLUS_KONA_FOD_POS_X = 604
|
||||
SOONG_CONFIG_ONEPLUS_KONA_FOD_POS_Y = 2434
|
||||
@ -37,6 +34,7 @@ DEVICE_MANIFEST_FILE += $(DEVICE_PATH)/manifest.xml
|
||||
BOARD_SUPER_PARTITION_SIZE := 15032385536
|
||||
|
||||
# Recovery
|
||||
TARGET_RECOVERY_DENSITY := xxhdpi
|
||||
TARGET_RECOVERY_FSTAB := $(DEVICE_PATH)/rootdir/etc/fstab.qcom
|
||||
|
||||
# inherit from the proprietary version
|
||||
|
@ -41,7 +41,8 @@ PRODUCT_COPY_FILES += \
|
||||
|
||||
# Device init scripts
|
||||
PRODUCT_PACKAGES += \
|
||||
fstab.qcom
|
||||
fstab.qcom \
|
||||
init.recovery.target.rc
|
||||
|
||||
# OPFeature
|
||||
PRODUCT_COPY_FILES += \
|
||||
|
@ -17,3 +17,12 @@ LOCAL_MODULE_CLASS := ETC
|
||||
LOCAL_SRC_FILES := etc/fstab.qcom
|
||||
LOCAL_MODULE_PATH := $(TARGET_RAMDISK_OUT)
|
||||
include $(BUILD_PREBUILT)
|
||||
|
||||
include $(CLEAR_VARS)
|
||||
LOCAL_MODULE := init.recovery.target.rc
|
||||
LOCAL_MODULE_TAGS := optional
|
||||
LOCAL_MODULE_TAGS := optional
|
||||
LOCAL_MODULE_CLASS := ETC
|
||||
LOCAL_SRC_FILES := etc/init.recovery.target.rc
|
||||
LOCAL_MODULE_PATH := $(TARGET_ROOT_OUT)
|
||||
include $(BUILD_PREBUILT)
|
||||
|
2
rootdir/etc/init.recovery.target.rc
Normal file
2
rootdir/etc/init.recovery.target.rc
Normal file
@ -0,0 +1,2 @@
|
||||
on init
|
||||
setprop ro.sf.lcd_density 480
|
Loading…
x
Reference in New Issue
Block a user