diff options
| author | Anton Hansson <hansson@google.com> | 2019-01-18 14:10:45 +0000 |
|---|---|---|
| committer | kubersharma001 <kubersharma001@gmail.com> | 2020-03-19 17:37:35 +0530 |
| commit | 42e145ef0828b84bec70591d9abf65da77e0141f (patch) | |
| tree | 41bfd14c1807b2b432df5f442aa58480ceeabeb3 | |
| parent | 901e0282caa7af25379eaed1eb7c8235097b734a (diff) | |
potter: Use TARGET_SCREEN_DENSITY
This variable is used to auto-populate the ro.sf.lcd_density as
well as selecting density bucket for resources in recovery.
Bug: 118676832
Test: adb shell getprop ro.sf.lcd_density
Test: boot into recovery
Change-Id: Ib383d18b61e7a2058a69ae26136aa053fdba4df2
| -rw-r--r-- | BoardConfig.mk | 1 | ||||
| -rw-r--r-- | device_props.mk | 1 |
2 files changed, 1 insertions, 1 deletions
diff --git a/BoardConfig.mk b/BoardConfig.mk index 74bd8c6..c510d2c 100644 --- a/BoardConfig.mk +++ b/BoardConfig.mk @@ -156,6 +156,7 @@ TARGET_USES_ION := true TARGET_USES_HWC2 := true MAX_VIRTUAL_DISPLAY_DIMENSION := 4096 TARGET_FORCE_HWC_FOR_VIRTUAL_DISPLAYS := true +TARGET_SCREEN_DENSITY := 420 # exfat TARGET_EXFAT_DRIVER := exfat diff --git a/device_props.mk b/device_props.mk index 8198b0a..deab103 100644 --- a/device_props.mk +++ b/device_props.mk @@ -131,7 +131,6 @@ PRODUCT_PROPERTY_OVERRIDES += \ dev.pm.dyn_samplingrate=1 \ persist.demo.hdmirotationlock=false \ ro.opengles.version=196610 \ - ro.sf.lcd_density=420 \ sdm.debug.disable_skip_validate=1 \ debug.gralloc.enable_fb_ubwc=1 \ persist.camera.preview.ubwc=0 \ |
