mirror of
https://github.com/topjohnwu/Magisk.git
synced 2025-10-16 16:51:23 +00:00
Add resetprop magic
This commit is contained in:
@@ -105,6 +105,12 @@ uint32_t __system_property_area_serial(void);
|
||||
*/
|
||||
int __system_property_add(const char* __name, unsigned int __name_length, const char* __value, unsigned int __value_length);
|
||||
|
||||
/* Delete a system property. Added in resetprop
|
||||
**
|
||||
** Returns 0 on success, -1 if the property area is full.
|
||||
*/
|
||||
int __system_property_del(const char *__name);
|
||||
|
||||
/* Update the value of a system property returned by
|
||||
** __system_property_find. Can only be done by a single process
|
||||
** that has write access to the property area, and that process
|
||||
|
@@ -17,6 +17,5 @@
|
||||
#define __system_property_serial __system_property_serial2
|
||||
#define __system_properties_init __system_properties_init2
|
||||
#define __system_property_wait_any __system_property_wait_any2
|
||||
#define __system_property_del(x) -1 /* Temp disable */
|
||||
|
||||
#endif //REDEFS_H
|
||||
|
Reference in New Issue
Block a user