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:
LuK1337
2021-01-09 13:57:23 +01:00
parent 5261c29aec
commit 6ae6e6e555
4 changed files with 14 additions and 4 deletions
+9
View File
@@ -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
View File
@@ -0,0 +1,2 @@
on init
setprop ro.sf.lcd_density 480