Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 44cabca1 authored by Treehugger Robot's avatar Treehugger Robot Committed by Gerrit Code Review
Browse files

Merge "base: fix out of date documentation with PropertySet()"

parents 8eea2cae ef2469e5
Loading
Loading
Loading
Loading
+0 −3
Original line number Original line Diff line number Diff line
@@ -49,9 +49,6 @@ template <typename T> T GetUintProperty(const std::string& key,
                                        T max = std::numeric_limits<T>::max());
                                        T max = std::numeric_limits<T>::max());


// Sets the system property `key` to `value`.
// Sets the system property `key` to `value`.
// Note that system property setting is inherently asynchronous so a return value of `true`
// isn't particularly meaningful, and immediately reading back the value won't necessarily
// 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);
bool SetProperty(const std::string& key, const std::string& value);


// Waits for the system property `key` to have the value `expected_value`.
// Waits for the system property `key` to have the value `expected_value`.