summaryrefslogtreecommitdiffstats
path: root/base/include/android-base/properties.h
diff options
context:
space:
mode:
Diffstat (limited to 'base/include/android-base/properties.h')
-rw-r--r--base/include/android-base/properties.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/base/include/android-base/properties.h b/base/include/android-base/properties.h
index 4d7082a21..e275fa2a4 100644
--- a/base/include/android-base/properties.h
+++ b/base/include/android-base/properties.h
@@ -58,6 +58,9 @@ template <typename T> T GetUintProperty(const std::string& key,
// tell you whether or not your call succeeded. A `false` return value definitely means failure.
bool SetProperty(const std::string& key, const std::string& value);
+// Waits for the system property `key` to have the value `expected_value`, .
+void WaitForProperty(const std::string& key, const std::string& expected_value);
+
} // namespace base
} // namespace android