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
1 file changed