29 lines
577 B
C++
29 lines
577 B
C++
/*
|
|
* Copyright (C) 2021 The LineageOS Project
|
|
*
|
|
* SPDX-License-Identifier: Apache-2.0
|
|
*/
|
|
|
|
#include <libinit_dalvik_heap.h>
|
|
#include <libinit_variant.h>
|
|
|
|
#include "vendor_init.h"
|
|
|
|
static const variant_info_t cmi_info = {
|
|
.hwc_value = "",
|
|
.sku_value = "",
|
|
|
|
.brand = "Xiaomi",
|
|
.device = "cmi",
|
|
.marketname = "",
|
|
.model = "Mi 10 Pro",
|
|
.build_fingerprint = "Xiaomi/cmi_global/cmi:13/RKQ1.211001.001/V816.0.2.0.TJAMIXM:user/release-keys",
|
|
|
|
.nfc = true,
|
|
};
|
|
|
|
void vendor_load_properties() {
|
|
set_variant_props(cmi_info);
|
|
set_dalvik_heap();
|
|
}
|