Use a system property to call different bugreport types.
Currently, we define 4 hardcoded init services to launch dumpstate with different command-line options (since dumpstate must be launched by root): - bugreport - bugreportplus - bugreportwear - bugreportremote This approach does not scale well; a better option is to have just one service, and let the framework pass the extra arguments through a system property. BUG: 31649719 Test: manual Change-Id: I1d627a73bfbdd9930c605fa4468c15282a23bb65
Loading
Please register or sign in to comment