Loading init/property_service.c +29 −28 Original line number Diff line number Diff line Loading @@ -58,6 +58,7 @@ struct { { "net.ppp", AID_RADIO }, { "ril.", AID_RADIO }, { "gsm.", AID_RADIO }, { "persist.radio", AID_RADIO }, { "net.dns", AID_RADIO }, { "net.", AID_SYSTEM }, { "dev.", AID_SYSTEM }, Loading Loading @@ -238,7 +239,7 @@ const char* property_get(const char *name) } } static void write_peristent_property(const char *name, const char *value) static void write_persistent_property(const char *name, const char *value) { const char *tempPath = PERSISTENT_PROPERTY_DIR "/.temp"; char path[PATH_MAX]; Loading Loading @@ -315,7 +316,7 @@ int property_set(const char *name, const char *value) * Don't write properties to disk until after we have read all default properties * to prevent them from being overwritten by default values. */ write_peristent_property(name, value); write_persistent_property(name, value); } property_changed(name, value); return 0; Loading Loading
init/property_service.c +29 −28 Original line number Diff line number Diff line Loading @@ -58,6 +58,7 @@ struct { { "net.ppp", AID_RADIO }, { "ril.", AID_RADIO }, { "gsm.", AID_RADIO }, { "persist.radio", AID_RADIO }, { "net.dns", AID_RADIO }, { "net.", AID_SYSTEM }, { "dev.", AID_SYSTEM }, Loading Loading @@ -238,7 +239,7 @@ const char* property_get(const char *name) } } static void write_peristent_property(const char *name, const char *value) static void write_persistent_property(const char *name, const char *value) { const char *tempPath = PERSISTENT_PROPERTY_DIR "/.temp"; char path[PATH_MAX]; Loading Loading @@ -315,7 +316,7 @@ int property_set(const char *name, const char *value) * Don't write properties to disk until after we have read all default properties * to prevent them from being overwritten by default values. */ write_peristent_property(name, value); write_persistent_property(name, value); } property_changed(name, value); return 0; Loading