mirror of
https://github.com/Evolution-X-Devices/device_xiaomi_rosemary
synced 2026-01-27 13:35:09 +00:00
* secret_in feeling bad without that Change-Id: Ib2b01100b4e40dbaa681161f34ccee3456f5c273
45 lines
861 B
C++
45 lines
861 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 maltose_info = {
|
|
.hwc_value = "Global",
|
|
.hwname_value="maltose",
|
|
.sku_value = "",
|
|
.device = "maltose",
|
|
.nfc = false,
|
|
};
|
|
|
|
static const variant_info_t rosemary_info = {
|
|
.hwc_value = "Global",
|
|
.hwname_value="rosemary",
|
|
.sku_value = "",
|
|
.device = "rosemary",
|
|
.nfc = true,
|
|
};
|
|
|
|
static const variant_info_t secret_info = {
|
|
.hwname_value="secret",
|
|
.sku_value = "",
|
|
.device = "secret",
|
|
.nfc = false,
|
|
};
|
|
|
|
static const std::vector<variant_info_t> variants = {
|
|
maltose_info,
|
|
rosemary_info,
|
|
secret_info,
|
|
};
|
|
|
|
void vendor_load_properties() {
|
|
search_variant(variants);
|
|
set_dalvik_heap();
|
|
}
|