aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAhmad Rulim <personal@rulim34.dev>2023-01-07 11:45:17 +0700
committersinanmohd <pcmsinan@gmail.com>2023-01-08 17:55:33 +0530
commit013b455f82bf18e5681ce0bdc778904c502e79fe (patch)
tree6e3e9afd23fada1e999b17426c5165750ebda177
parent1cbbeadd29b1574b23cb349455b4010ffa2b8951 (diff)
veux: Fix bluetooth and USB device name props assignment
Create the props if doesn't exist before. Signed-off-by: Ahmad Rulim <personal@rulim34.dev>
-rw-r--r--libinit/libinit_variant.cpp4
1 files changed, 2 insertions, 2 deletions
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);