summaryrefslogtreecommitdiffstats
path: root/libcutils/android_reboot.c
diff options
context:
space:
mode:
authorGreg Hackmann <ghackmann@google.com>2013-02-13 10:49:50 -0800
committerGreg Hackmann <ghackmann@google.com>2013-06-18 16:37:54 -0700
commit389e358017ad15485f2bd9120feebfffa489131b (patch)
tree20dd92620492daf04a7ece33b68523999785b870 /libcutils/android_reboot.c
parente7bb159d16f9e60850a3c79cc388587959015a65 (diff)
downloadsystem_core-389e358017ad15485f2bd9120feebfffa489131b.zip
system_core-389e358017ad15485f2bd9120feebfffa489131b.tar.gz
system_core-389e358017ad15485f2bd9120feebfffa489131b.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.) Change-Id: I83843facdd671edd09652edf472e88ec3d1edd3b Signed-off-by: Greg Hackmann <ghackmann@google.com>
Diffstat (limited to 'libcutils/android_reboot.c')
0 files changed, 0 insertions, 0 deletions