From 013b455f82bf18e5681ce0bdc778904c502e79fe Mon Sep 17 00:00:00 2001 From: Ahmad Rulim Date: Sat, 7 Jan 2023 11:45:17 +0700 Subject: veux: Fix bluetooth and USB device name props assignment Create the props if doesn't exist before. Signed-off-by: Ahmad Rulim --- libinit/libinit_variant.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'libinit') diff --git a/libinit/libinit_variant.cpp b/libinit/libinit_variant.cpp index 8225bc4..b2c8340 100644 --- a/libinit/libinit_variant.cpp +++ b/libinit/libinit_variant.cpp @@ -36,8 +36,8 @@ void set_variant_props(const variant_info_t variant) { set_ro_build_prop("model", variant.model, true); set_ro_build_prop("name", variant.name, true); - property_override("bluetooth.device.default_name", variant.marketname); - property_override("vendor.usb.product_string", variant.marketname); + property_override("bluetooth.device.default_name", variant.marketname, true); + property_override("vendor.usb.product_string", variant.marketname, true); if (access("/system/bin/recovery", F_OK) != 0) { set_ro_build_prop("fingerprint", variant.build_fingerprint); -- cgit v1.2.3