mirror of
https://github.com/PixelExperience-Devices/device_xiaomi_miatoll.git
synced 2025-05-01 11:47:26 +09:00
Because Indian version of Redmi Note 9 Pro is identical to Redmi Note 10 Lite, choose the latter name to not intersect with Global version of Redmi Note 9 Pro. Change-Id: I12901a6427fcdde77055eebc6e0c4c7979ab9f75
79 lines
1.8 KiB
C++
79 lines
1.8 KiB
C++
/*
|
|
* Copyright (C) 2021-2022 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 10 Lite",
|
|
.build_fingerprint = "Redmi/curtana_in1/curtana:11/RKQ1.200826.002/V12.5.10.0.RJWINRF: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:12/RKQ1.211019.001/V13.0.2.0.SJWMIXM: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.6.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:12/RKQ1.211019.001/V13.0.1.0.SJZMIXM: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();
|
|
}
|