Enable gxp dumps in bugreport
- Enable gxp dumps to be captured in bugreport during dogfood.
- TODO(b/277094681): Revert this cl around device beta milestone.
Bug: 274956438
Test: Verified the changes on the device using ab/P53879006.
Change-Id: Idb701e430b64c3cae8cef6a4bb73999c92b6c94a
Signed-off-by: nischaljain <nischaljain@google.com>
diff --git a/gxp/dump_gxp.cpp b/gxp/dump_gxp.cpp
index 1ab4442..5a0bb3b 100644
--- a/gxp/dump_gxp.cpp
+++ b/gxp/dump_gxp.cpp
@@ -20,7 +20,8 @@
#define maxGxpDebugDumps 3
int main() {
- if(::android::base::GetBoolProperty("vendor.gxp.attach_to_bugreport", false)) {
+ /* TODO(b/277094681): Set default value to false around device beta milestone. */
+ if(::android::base::GetBoolProperty("vendor.gxp.attach_to_bugreport", true)) {
std::string outputDir = concatenatePath(BUGREPORT_PACKING_DIR, "gxp_ssrdump");
printf("Creating %s", outputDir.c_str());
if (mkdir(outputDir.c_str(), 0777) == -1) {