47 lines
989 B
C++
47 lines
989 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 lmi_info = {
|
|
.hwc_value = "",
|
|
.sku_value = "std",
|
|
|
|
.brand = "POCO",
|
|
.device = "lmi",
|
|
.marketname = "",
|
|
.model = "POCO F2 Pro",
|
|
.build_fingerprint = "POCO/lmi_global/lmi:11/RKQ1.200826.002/V12.5.2.0.RJKMIXM:user/release-keys",
|
|
|
|
.nfc = true,
|
|
};
|
|
|
|
static const variant_info_t lmipro_info = {
|
|
.hwc_value = "",
|
|
.sku_value = "pro",
|
|
|
|
.brand = "Redmi",
|
|
.device = "lmipro",
|
|
.marketname = "",
|
|
.model = "Redmi K30 Pro Zoom Edition",
|
|
.build_fingerprint = "Redmi/lmipro/lmipro:11/RKQ1.200826.002/V12.5.2.0.RJKMIXM:user/release-keys",
|
|
|
|
.nfc = true,
|
|
};
|
|
|
|
static const std::vector<variant_info_t> variants = {
|
|
lmi_info,
|
|
lmipro_info,
|
|
};
|
|
|
|
void vendor_load_properties() {
|
|
search_variant(variants);
|
|
set_dalvik_heap();
|
|
}
|