products: oneplus9(pro): Make device name/product prop overrides work

Change-Id: I64d11103ddb8f9dce70b9bc110745d4aafd667dc
Signed-off-by: Omkar Chandorkar <gotenksIN@aospa.co>
This commit is contained in:
LuK1337 2023-01-03 14:14:15 +01:00 committed by Omkar Chandorkar
parent 735a5c5a43
commit bc2ee9115a
No known key found for this signature in database
2 changed files with 13 additions and 7 deletions

View File

@ -27,14 +27,17 @@ $(call inherit-product, vendor/aospa/target/product/aospa-target.mk)
PRODUCT_BRAND := OnePlus
PRODUCT_DEVICE := oneplus9
PRODUCT_MANUFACTURER := OnePlus
PRODUCT_MODEL := OnePlus 9
PRODUCT_MODEL := LE2115
PRODUCT_NAME := aospa_oneplus9
PRODUCT_GMS_CLIENTID_BASE := android-oneplus
PRODUCT_SYSTEM_NAME := OnePlus9
PRODUCT_SYSTEM_DEVICE := OnePlus9
# Override device name for Play Store.
PRODUCT_BUILD_PROP_OVERRIDES += \
PRODUCT_DEVICE=OnePlus9
TARGET_DEVICE=$(PRODUCT_SYSTEM_DEVICE) \
TARGET_PRODUCT=$(PRODUCT_SYSTEM_NAME)
PRODUCT_GMS_CLIENTID_BASE := android-oneplus
# Boot animation resolution.
TARGET_BOOT_ANIMATION_RES := 1080

View File

@ -27,12 +27,15 @@ $(call inherit-product, vendor/aospa/target/product/aospa-target.mk)
PRODUCT_BRAND := OnePlus
PRODUCT_DEVICE := oneplus9pro
PRODUCT_MANUFACTURER := OnePlus
PRODUCT_MODEL := OnePlus 9 Pro
PRODUCT_MODEL := LE2125
PRODUCT_NAME := aospa_oneplus9pro
# Override device name for Play Store.
PRODUCT_SYSTEM_NAME := OnePlus9Pro
PRODUCT_SYSTEM_DEVICE := OnePlus9Pro
PRODUCT_BUILD_PROP_OVERRIDES += \
PRODUCT_DEVICE=OnePlus9Pro
TARGET_DEVICE=$(PRODUCT_SYSTEM_DEVICE) \
TARGET_PRODUCT=$(PRODUCT_SYSTEM_NAME)
PRODUCT_GMS_CLIENTID_BASE := android-oneplus