aboutsummaryrefslogtreecommitdiff
path: root/libinit
diff options
context:
space:
mode:
authorSubhajeet Muhuri <subhajeet.muhuri@gmail.com>2022-09-28 23:13:02 +0530
committersinanmohd <pcmsinan@gmail.com>2023-01-05 22:04:15 +0530
commitf41aa988c7f4ae35c296c7ce9d6ab1a9908ef6e3 (patch)
tree4aa38e14c8a83b72daad55fb50b073a04b22d507 /libinit
parentaff3d771e56df5fe013d6614e2aa4347f07c5d71 (diff)
veux: props: Configure USB device name
Signed-off-by: Richard Raya <rdxzv.dev@gmail.com> Signed-off-by: chrisl7 <wandersonrodriguesf1@gmail.com> Signed-off-by: Ahmad Rulim <personal@rulim34.dev>
Diffstat (limited to 'libinit')
-rw-r--r--libinit/libinit_variant.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/libinit/libinit_variant.cpp b/libinit/libinit_variant.cpp
index 6de8553..8225bc4 100644
--- a/libinit/libinit_variant.cpp
+++ b/libinit/libinit_variant.cpp
@@ -37,6 +37,7 @@ void set_variant_props(const variant_info_t variant) {
set_ro_build_prop("name", variant.name, true);
property_override("bluetooth.device.default_name", variant.marketname);
+ property_override("vendor.usb.product_string", variant.marketname);
if (access("/system/bin/recovery", F_OK) != 0) {
set_ro_build_prop("fingerprint", variant.build_fingerprint);