From aff3d771e56df5fe013d6614e2aa4347f07c5d71 Mon Sep 17 00:00:00 2001 From: Omkar Chandorkar Date: Tue, 6 Sep 2022 16:50:40 +0900 Subject: veux: props: Configure default bluetooth device name Change-Id: I7476d106cb8c16894eaab216e82149c471470066 Signed-off-by: Omkar Chandorkar Signed-off-by: chrisl7 Signed-off-by: Ahmad Rulim --- libinit/libinit_variant.cpp | 2 ++ 1 file changed, 2 insertions(+) (limited to 'libinit') diff --git a/libinit/libinit_variant.cpp b/libinit/libinit_variant.cpp index 2c693c5..6de8553 100644 --- a/libinit/libinit_variant.cpp +++ b/libinit/libinit_variant.cpp @@ -36,6 +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); + if (access("/system/bin/recovery", F_OK) != 0) { set_ro_build_prop("fingerprint", variant.build_fingerprint); property_override("ro.bootimage.build.fingerprint", variant.build_fingerprint); -- cgit v1.2.3