summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
author Abhijeet Kaur <abkaur@google.com> 2018-12-05 14:21:57 +0000
committer Abhijeet Kaur <abkaur@google.com> 2018-12-12 09:33:23 +0000
commit70b58e94c1c80425e415decd18156ad9f690f129 (patch)
tree89384f10cc9a2ca924b6fc288f4e02655f4ba8f9
parentc97a61b5e6ed635baca5462ccc6ed58146766d2f (diff)
Set system property for FULL bugreport instead of default.
The addition of DEFAULT mode in dumpstate service requires FULL bugreport to be distinguished from DEFAULT as the system property is empty in both the cases, but the effective arguments are different. Test: Full bugreport is being generated as usual from the device: 1. Settings->developer options -> Take a bug report -> Full report. 2. Enable bugreport shortcut from the settings. Long press power button and then long press 'Take a bug report' button. 3. Long press power, volume up and volume down buttons. Bug: 119877616 Change-Id: I07bc279221ac9fc03967b887ee511f276f0ec040
-rw-r--r--services/core/java/com/android/server/am/ActivityManagerService.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/services/core/java/com/android/server/am/ActivityManagerService.java b/services/core/java/com/android/server/am/ActivityManagerService.java
index 5df2c64c8a3d..dad05b9c692e 100644
--- a/services/core/java/com/android/server/am/ActivityManagerService.java
+++ b/services/core/java/com/android/server/am/ActivityManagerService.java
@@ -13647,7 +13647,7 @@ public class ActivityManagerService extends IActivityManager.Stub
String extraOptions = null;
switch (bugreportType) {
case ActivityManager.BUGREPORT_OPTION_FULL:
- // Default options.
+ extraOptions = "bugreportfull";
break;
case ActivityManager.BUGREPORT_OPTION_INTERACTIVE:
extraOptions = "bugreportplus";