gts210vewifi: Set display orientation via prop

This commit is contained in:
bgcngm 2020-02-25 22:19:37 +01:00 committed by ripee
parent c898bf1698
commit 9ec9475a7e
2 changed files with 4 additions and 3 deletions

View file

@ -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

View file

@ -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