mirror of
https://github.com/PixelExperience-Devices/device_xiaomi_miatoll.git
synced 2025-04-29 02:37:19 +09:00
* curtana: V12.5.5.0.RJWINXM * excalibur: V12.5.6.0.RJXINXM * joyeuse: V12.5.5.0.RJZMIXM Change-Id: I86d0ed7dba0a52381617229f8486fe804858f3e2
79 lines
1.8 KiB
C++
79 lines
1.8 KiB
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 curtanain_info = {
|
|
.hwc_value = "India",
|
|
|
|
.brand = "Redmi",
|
|
.device = "curtana",
|
|
.model = "Redmi Note 9 Pro",
|
|
.build_fingerprint = "Redmi/curtana/curtana:11/RKQ1.200826.002/V12.5.5.0.RJWINXM:user/release-keys",
|
|
|
|
.nfc = false,
|
|
};
|
|
|
|
static const variant_info_t curtana_info = {
|
|
.hwc_value = "",
|
|
|
|
.brand = "Redmi",
|
|
.device = "curtana",
|
|
.model = "Redmi Note 9S",
|
|
.build_fingerprint = "Redmi/curtana_global/curtana:11/RKQ1.200826.002/V12.5.5.0.RJWMIXM:user/release-keys",
|
|
|
|
.nfc = false,
|
|
};
|
|
|
|
static const variant_info_t excalibur_info = {
|
|
.hwc_value = "",
|
|
|
|
.brand = "Redmi",
|
|
.device = "excalibur",
|
|
.model = "Redmi Note 9 Pro Max",
|
|
.build_fingerprint = "Redmi/excalibur_in/excalibur:11/RKQ1.200826.002/V12.5.6.0.RJXINXM:user/release-keys",
|
|
|
|
.nfc = false,
|
|
};
|
|
|
|
static const variant_info_t gram_info = {
|
|
.hwc_value = "",
|
|
|
|
.brand = "POCO",
|
|
.device = "gram",
|
|
.model = "POCO M2 Pro",
|
|
.build_fingerprint = "POCO/gram_in/gram:11/RKQ1.200826.002/V12.5.3.0.RJPINXM:user/release-keys",
|
|
|
|
.nfc = false,
|
|
};
|
|
|
|
static const variant_info_t joyeuse_info = {
|
|
.hwc_value = "",
|
|
|
|
.brand = "Redmi",
|
|
.device = "joyeuse",
|
|
.model = "Redmi Note 9 Pro",
|
|
.build_fingerprint = "Redmi/joyeuse_global/joyeuse:11/RKQ1.200826.002/V12.5.5.0.RJZMIXM:user/release-keys",
|
|
|
|
.nfc = true,
|
|
};
|
|
|
|
static const std::vector<variant_info_t> variants = {
|
|
curtanain_info,
|
|
curtana_info,
|
|
excalibur_info,
|
|
gram_info,
|
|
joyeuse_info,
|
|
};
|
|
|
|
void vendor_load_properties() {
|
|
search_variant(variants);
|
|
set_dalvik_heap();
|
|
}
|