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>
Wed, 1 Mar 2017 18:55:33 +0000 (10:55 -0800)
commit52eddbac268a55d40915e8f4c9133113f3520179
treef412ea945ec900d6fd1844daf09a48f690dbaf93
parentd9f506fd4789d2cf65a81189f363f44d8ec919f6
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
Merged-In: I08281680df5aabfdb39228abf8c2aab089cc8b9e
Change-Id: I08281680df5aabfdb39228abf8c2aab089cc8b9e
cmds/dumpstate/dumpstate.cpp
cmds/dumpstate/dumpstate.h
cmds/dumpstate/utils.cpp