Revert "Reland: "init: run property service in a thread""
This reverts commit 8efca4bbb378ff5bd3af06d8511ea75a7ed49f99.
Reason for revert: Still broken
Change-Id: I3b37b1b00ff4b19f2eec2d8bd72042463d47cee3
diff --git a/init/property_service.h b/init/property_service.h
index 2dc92a5..7f9f844 100644
--- a/init/property_service.h
+++ b/init/property_service.h
@@ -25,16 +25,17 @@
namespace android {
namespace init {
-static constexpr const char kRestoreconProperty[] = "selinux.restorecon_recursive";
-
bool CanReadProperty(const std::string& source_context, const std::string& name);
extern uint32_t (*property_set)(const std::string& name, const std::string& value);
+uint32_t HandlePropertySet(const std::string& name, const std::string& value,
+ const std::string& source_context, const ucred& cr, std::string* error);
+
void property_init();
void property_load_boot_defaults(bool load_debug_prop);
void load_persist_props();
-void StartPropertyService(int* epoll_socket);
+void StartPropertyService(Epoll* epoll);
} // namespace init
} // namespace android