mirror of
https://github.com/Evolution-X-Devices/device_xiaomi_rosemary
synced 2026-01-27 13:35:09 +00:00
rosemary: libinit: Set default USB and Bluetooth name
Change-Id: I65948d08d95b138d9faed262ad3376305b9510a7
This commit is contained in:
committed by
Matsvei Niaverau
parent
e210ef7949
commit
4a2f4468f2
@@ -36,8 +36,10 @@ void set_variant_props(const variant_info_t variant) {
|
|||||||
set_ro_build_prop("device", variant.device, true);
|
set_ro_build_prop("device", variant.device, true);
|
||||||
set_ro_build_prop("marketname", variant.marketname, true);
|
set_ro_build_prop("marketname", variant.marketname, true);
|
||||||
set_ro_build_prop("model", variant.model, true);
|
set_ro_build_prop("model", variant.model, true);
|
||||||
|
property_override("vendor.usb.product_string", variant.marketname, true);
|
||||||
|
|
||||||
if (access("/system/bin/recovery", F_OK) != 0) {
|
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);
|
set_ro_build_prop("fingerprint", variant.build_fingerprint);
|
||||||
property_override("ro.bootimage.build.fingerprint", variant.build_fingerprint);
|
property_override("ro.bootimage.build.fingerprint", variant.build_fingerprint);
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user