aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorOmkar Chandorkar <gotenksIN@aospa.co>2022-09-06 16:50:40 +0900
committersinanmohd <pcmsinan@gmail.com>2023-01-05 22:04:15 +0530
commitaff3d771e56df5fe013d6614e2aa4347f07c5d71 (patch)
tree11d294c7fbc133f9b9a846fc115d89d6f514fee5
parent14b1b6b62572c3700f06b4fa490296b2c4e22cce (diff)
veux: props: Configure default bluetooth device name
Change-Id: I7476d106cb8c16894eaab216e82149c471470066 Signed-off-by: Omkar Chandorkar <gotenksIN@aospa.co> Signed-off-by: chrisl7 <wandersonrodriguesf1@gmail.com> Signed-off-by: Ahmad Rulim <personal@rulim34.dev>
-rw-r--r--libinit/libinit_variant.cpp2
1 files changed, 2 insertions, 0 deletions
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);