mirror of
https://github.com/Evolution-X-Devices/device_xiaomi_stone
synced 2026-01-27 17:18:49 +00:00
switch to libinit for device recognition, taken and modified from https://github.com/Evolution-X-Devices/device_xiaomi_marble/commits/udc/libinit
19 lines
444 B
C++
19 lines
444 B
C++
/*
|
|
* Copyright (C) 2021 The LineageOS Project
|
|
*
|
|
* SPDX-License-Identifier: Apache-2.0
|
|
*/
|
|
|
|
#ifndef LIBINIT_UTILS_H
|
|
#define LIBINIT_UTILS_H
|
|
|
|
#include <string>
|
|
|
|
void property_override(std::string prop, std::string value, bool add = true);
|
|
|
|
void set_ro_build_prop(const std::string &prop, const std::string &value, bool product = false);
|
|
|
|
const std::string fingerprint_to_description(const std::string &fingerprint);
|
|
|
|
#endif // LIBINIT_UTILS_H
|