Add resetprop magic

This commit is contained in:
topjohnwu
2018-09-06 02:54:51 -04:00
parent 7a0025673c
commit c0f45b6b1e
7 changed files with 76 additions and 10 deletions

View File

@@ -99,6 +99,11 @@ int __system_property_add(const char* name, unsigned int namelen, const char* va
return system_properties.Add(name, namelen, value, valuelen);
}
__BIONIC_WEAK_FOR_NATIVE_BRIDGE
int __system_property_del(const char* name) {
return system_properties.Delete(name);
}
__BIONIC_WEAK_FOR_NATIVE_BRIDGE
uint32_t __system_property_serial(const prop_info* pi) {
return system_properties.Serial(pi);