commit | 9a534c01ecd4a1442856c1b709e23b61f1baf9ba | [log] [tgz] |
---|---|---|
author | Philip P. Moltmann <moltmann@google.com> | Tue Jan 16 13:32:56 2018 -0800 |
committer | Philip P. Moltmann <moltmann@google.com> | Tue Jan 16 14:06:13 2018 -0800 |
tree | 947aef542b8d6d8ed58c2466e8d1777351edbfe8 | |
parent | 6644e252cda745842af86d1583d21f5db60d4b2d [diff] |
Only have one way of dumping print manager state Add a class DualDumpOutputStream that maps proto-dump commands onto print writer commands. The effect of this is that there is only one - very proto dump like - way to dump the print manager which is much easier to maintain. The DualDumpOutputStream tries to produce a result similar to the incident-report tool. Test: adb shell dumpsys print Change-Id: I1f0c56651eaa59f0ce90cdb08c71e89a96c48dd4