commit | 389e358017ad15485f2bd9120feebfffa489131b | [log] [tgz] |
---|---|---|
author | Greg Hackmann <ghackmann@google.com> | Wed Feb 13 10:49:50 2013 -0800 |
committer | Greg Hackmann <ghackmann@google.com> | Tue Jun 18 16:37:54 2013 -0700 |
tree | 20dd92620492daf04a7ece33b68523999785b870 | |
parent | e7bb159d16f9e60850a3c79cc388587959015a65 [diff] |
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.) Change-Id: I83843facdd671edd09652edf472e88ec3d1edd3b Signed-off-by: Greg Hackmann <ghackmann@google.com>