Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit a3063481 authored by Abhijeet Kaur's avatar Abhijeet Kaur Committed by android-build-merger
Browse files

Merge "Fix bugreport logs by setting 'extra_options' field" am: 18469210

am: 6c1acd09

Change-Id: Ie923276a3fb1b6a7e86a169a7c31d19e13628ed2
parents 9b6cbb97 6c1acd09
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -2048,6 +2048,7 @@ static inline const char* ModeToString(Dumpstate::BugreportMode mode) {
}

static void SetOptionsFromMode(Dumpstate::BugreportMode mode, Dumpstate::DumpOptions* options) {
    options->extra_options = ModeToString(mode);
    switch (mode) {
        case Dumpstate::BugreportMode::BUGREPORT_FULL:
            options->do_broadcast = true;