bluejay: Shuffle & update product properties

Change-Id: I3818ee42547db84c7377bb8cbfb9ce1c9674d726
This commit is contained in:
Michael Bestas
2025-12-05 11:37:31 +02:00
parent 66bcdf32db
commit dc3e7b6527
2 changed files with 18 additions and 34 deletions

17
bluejay/product.prop Normal file
View File

@@ -0,0 +1,17 @@
# Bluetooth
bluetooth.device_id.product_id=16648
persist.bluetooth.a2dp_aac.vbr_supported=true
persist.bluetooth.firmware.selection=BCM.hcd
# Cutout
ro.support_hide_display_cutout=true
# Fingerprint
persist.vendor.fingerprint.disable.fake.override=none
# Google keyboard
ro.com.google.ime.kb_pad_port_b=6.4
# Quick start
ro.quick_start.device_id=bluejay
ro.quick_start.oem_id=00e0

View File

@@ -48,15 +48,6 @@ PRODUCT_COPY_FILES += \
PRODUCT_SOONG_NAMESPACES += \ PRODUCT_SOONG_NAMESPACES += \
device/google/bluejay device/google/bluejay
# Bluetooth
PRODUCT_PRODUCT_PROPERTIES += \
persist.bluetooth.a2dp_aac.vbr_supported=true \
persist.bluetooth.firmware.selection=BCM.hcd
# Fingerprint antispoof property
PRODUCT_PRODUCT_PROPERTIES +=\
persist.vendor.fingerprint.disable.fake.override=none
# Hide cutout overlays # Hide cutout overlays
PRODUCT_PACKAGES += \ PRODUCT_PACKAGES += \
NoCutoutOverlay \ NoCutoutOverlay \
@@ -69,14 +60,6 @@ PRODUCT_PACKAGES += \
SettingsOverlayGB62Z \ SettingsOverlayGB62Z \
SettingsOverlayGX7AS SettingsOverlayGX7AS
# Set support hide display cutout feature
PRODUCT_PRODUCT_PROPERTIES += \
ro.support_hide_display_cutout=true
# Set support one-handed mode
PRODUCT_PRODUCT_PROPERTIES += \
ro.support_one_handed_mode=true
# This device is shipped with 32 (Android S V2) # This device is shipped with 32 (Android S V2)
PRODUCT_SHIPPING_API_LEVEL := 32 PRODUCT_SHIPPING_API_LEVEL := 32
@@ -84,26 +67,9 @@ PRODUCT_SHIPPING_API_LEVEL := 32
PRODUCT_COPY_FILES += \ PRODUCT_COPY_FILES += \
frameworks/native/data/etc/handheld_core_hardware.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/handheld_core_hardware.xml frameworks/native/data/etc/handheld_core_hardware.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/handheld_core_hardware.xml
# Keyboard bottom padding in dp for portrait mode and height ratio
PRODUCT_PRODUCT_PROPERTIES += \
ro.com.google.ime.kb_pad_port_b=6.4 \
PRODUCT_PRODUCT_PROPERTIES ?= \
ro.com.google.ime.height_ratio=1.05
# Quick Start device-specific settings
PRODUCT_PRODUCT_PROPERTIES += \
ro.quick_start.oem_id=00e0 \
ro.quick_start.device_id=bluejay
# Disable AVF Remote Attestation # Disable AVF Remote Attestation
PRODUCT_AVF_REMOTE_ATTESTATION_DISABLED := true PRODUCT_AVF_REMOTE_ATTESTATION_DISABLED := true
# Bluetooth device id
# Bluejay: 0x4108
PRODUCT_PRODUCT_PROPERTIES += \
bluetooth.device_id.product_id=16648
# ANGLE - Almost Native Graphics Layer Engine # ANGLE - Almost Native Graphics Layer Engine
PRODUCT_PACKAGES += \ PRODUCT_PACKAGES += \
ANGLE ANGLE
@@ -129,6 +95,7 @@ PRODUCT_PACKAGES += \
init.recovery.bluejay.touch.rc init.recovery.bluejay.touch.rc
# Properties # Properties
TARGET_PRODUCT_PROP += $(DEVICE_PATH)/$(DEVICE_CODENAME)/product.prop
TARGET_VENDOR_PROP += $(DEVICE_PATH)/$(DEVICE_CODENAME)/vendor.prop TARGET_VENDOR_PROP += $(DEVICE_PATH)/$(DEVICE_CODENAME)/vendor.prop
# Sensors # Sensors