summaryrefslogtreecommitdiff
path: root/packages/Shell/src
diff options
context:
space:
mode:
author Felipe Leme <felipeal@google.com> 2016-09-21 10:16:21 -0700
committer Felipe Leme <felipeal@google.com> 2016-09-21 11:50:44 -0700
commit1a83dede85a0ad6e973174dc011e460db846ffc1 (patch)
treefc8478dd69e670191a00edaf51c3f44264ca378e /packages/Shell/src
parentf97de8b1c5f21fa98cd145c35091e69eb15c28e0 (diff)
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
Diffstat (limited to 'packages/Shell/src')
-rw-r--r--packages/Shell/src/com/android/shell/BugreportProgressService.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/packages/Shell/src/com/android/shell/BugreportProgressService.java b/packages/Shell/src/com/android/shell/BugreportProgressService.java
index 18c7dbec9ca3..772c344fbfdb 100644
--- a/packages/Shell/src/com/android/shell/BugreportProgressService.java
+++ b/packages/Shell/src/com/android/shell/BugreportProgressService.java
@@ -180,7 +180,7 @@ public class BugreportProgressService extends Service {
/** System property (and value) used to stop dumpstate. */
// TODO: should call ActiveManager API instead
private static final String CTL_STOP = "ctl.stop";
- private static final String BUGREPORT_SERVICE = "bugreportplus";
+ private static final String BUGREPORT_SERVICE = "bugreport";
/**
* Directory on Shell's data storage where screenshots will be stored.