commit | 6968f552f485c790e81c1ef3c0f9eff790e0bd4e | [log] [tgz] |
---|---|---|
author | Gavin Corkery <gavincorkery@google.com> | Sun Nov 22 18:09:05 2020 +0000 |
committer | Gavin Corkery <gavincorkery@google.com> | Tue Nov 24 00:34:01 2020 +0000 |
tree | f0af095479bd9268af78ec4b81b1bbdf51feb26d | |
parent | 5702b485d51136d938f4e33a18db87d3cd5c0040 [diff] |
Reduce duplicate calls for restricted dump options The existing logic makes several identical calls for each restriced bugreport type (telephony, wifi and limited). Instead, handle logic for the default case so that the critical dumpsys can be collected before running common logic for all bugreport types. Test: atest BugreportManagerTest Test: atest dumpstate_test Bug: 1587370896 Change-Id: I1784e53a526c02e488232f43d764ec3c398a9a1a