diff --git a/BoardConfig.mk b/BoardConfig.mk index de4fd3f..013656c 100644 --- a/BoardConfig.mk +++ b/BoardConfig.mk @@ -21,9 +21,6 @@ DEVICE_PATH := device/samsung/gts210vewifi # Assert TARGET_OTA_ASSERT_DEVICE := gts210vewifi -# Display -SF_PRIMARY_DISPLAY_ORIENTATION := 270 - # Kernel TARGET_KERNEL_CONFIG := gts210vewifi_defconfig diff --git a/device.mk b/device.mk index 64a0d01..5e6334f 100644 --- a/device.mk +++ b/device.mk @@ -25,6 +25,10 @@ PRODUCT_COPY_FILES += \ $(LOCAL_PATH)/audio/audio_policy_configuration.xml:$(TARGET_COPY_OUT_VENDOR)/etc/audio_policy_configuration.xml \ $(LOCAL_PATH)/audio/mixer_paths_wcd9330.xml:$(TARGET_COPY_OUT_VENDOR)/etc/mixer_paths_wcd9330.xml +# Display +PRODUCT_DEFAULT_PROPERTY_OVERRIDES += \ + ro.surface_flinger.primary_display_orientation=ORIENTATION_270 + # Grip Power PRODUCT_COPY_FILES += \ $(LOCAL_PATH)/wifi/grippower.info:$(TARGET_COPY_OUT_VENDOR)/firmware/wlan/qca_cld/grippower.info