mirror of
https://github.com/Evolution-X-Devices/device_xiaomi_stone
synced 2026-01-27 11:33:32 +00:00
sm6375-common: libinit: Set default USB and Bluetooth name
Change-Id: I65948d08d95b138d9faed262ad3376305b9510a7
This commit is contained in:
@@ -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);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user