OSDN Git Service

Move dumpstate to calling getprop.
authorElliott Hughes <enh@google.com>
Tue, 28 Feb 2017 18:14:22 +0000 (10:14 -0800)
committerElliott Hughes <enh@google.com>
Tue, 28 Feb 2017 22:18:17 +0000 (14:18 -0800)
commit23ccc625fd60891d20977abc5f2c35cbe46142ac
treef32df7ef1022f6f84d76387c3927214d57434233
parent061fc6a2355d2958e60f57b3b36136746c53e29a
Move dumpstate to calling getprop.

There's no obvious reason for reinventing the wheel like this (given that
dumpstate already spends most of its time calling out to other utilities),
and I keep having to come and fix this code.

(This time the problem being that there's no longer a limit on system
property names.)

Bug: http://b/33926793
Test: ran dumpstate
Change-Id: I08281680df5aabfdb39228abf8c2aab089cc8b9e
cmds/dumpstate/dumpstate.cpp
cmds/dumpstate/dumpstate.h
cmds/dumpstate/utils.cpp