diff options
| author | Greg Hackmann <ghackmann@google.com> | 2013-02-13 10:49:50 -0800 |
|---|---|---|
| committer | Colin Cross <ccross@android.com> | 2013-06-18 19:26:28 -0700 |
| commit | 68e9b6bc947eaca4135085615860ba90a8656ca4 (patch) | |
| tree | f9ec16b11301b6103847e01211e44c3866bbba9b /libpixelflinger/tinyutils/VectorImpl.cpp | |
| parent | 6967935eb30875ca9caf4717684141c92a0b6d4b (diff) | |
| download | system_core-68e9b6bc947eaca4135085615860ba90a8656ca4.zip system_core-68e9b6bc947eaca4135085615860ba90a8656ca4.tar.gz system_core-68e9b6bc947eaca4135085615860ba90a8656ca4.tar.bz2 | |
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: Greg Hackmann <ghackmann@google.com>
(cherry picked from commit 389e358017ad15485f2bd9120feebfffa489131b)
Change-Id: I1db3137b130474f4bb205f01f0bdcf37cf974764
Diffstat (limited to 'libpixelflinger/tinyutils/VectorImpl.cpp')
0 files changed, 0 insertions, 0 deletions
