sm6375-common: libinit: Set default USB and Bluetooth name

Change-Id: I65948d08d95b138d9faed262ad3376305b9510a7
This commit is contained in:
althafvly
2022-09-20 11:16:46 +05:30
committed by Ramii Ahmed
parent 39a23fb4cb
commit 41d1076962

View File

@@ -35,8 +35,10 @@ void set_variant_props(const variant_info_t variant) {
set_ro_build_prop("marketname", variant.marketname, true);
set_ro_build_prop("model", variant.model, true);
set_ro_build_prop("name", variant.name, true);
property_override("vendor.usb.product_string", variant.marketname, true);
if (access("/system/bin/recovery", F_OK) != 0) {
property_override("bluetooth.device.default_name", variant.marketname, true);
set_ro_build_prop("fingerprint", variant.build_fingerprint);
property_override("ro.bootimage.build.fingerprint", variant.build_fingerprint);