mirror of
https://github.com/PixelExperience-Devices/device_xiaomi_sm6250-common.git
synced 2025-05-01 03:27:17 +09:00
* This libinit has been made to commonize device variants props handling [dereference23: Adapt for Xiaomi SM6250] Signed-off-by: Alexander Winkowski <dereference23@outlook.com> Change-Id: Iab68ff451ab1d6e861fb4cda4ef07fad3123ecde
17 lines
365 B
C++
17 lines
365 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);
|
|
|
|
#endif // LIBINIT_UTILS_H
|