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

Skip to content
Commit 68e9b6bc authored by Greg Hackmann's avatar Greg Hackmann Committed by Colin Cross
Browse files

toolbox: reimplement watchprops using __system_property_foreach()



Internally, replace the watchlist array with a hashmap since the array
assumes properties are enumerated in a consistent order and foreach()
probably won't.  (find_nth() never guaranteed this either but it usually
worked in practice.)

Signed-off-by: default avatarGreg Hackmann <ghackmann@google.com>

(cherry picked from commit 389e3580)

Change-Id: I1db3137b130474f4bb205f01f0bdcf37cf974764
parent 6967935e
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment