/* * Copyright (C) 2021 The LineageOS Project * * SPDX-License-Identifier: Apache-2.0 */ #include #include #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 variants = { maltose_info, rosemary_info, secret_info, }; void vendor_load_properties() { search_variant(variants); set_dalvik_heap(); }