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

Commit 6c1acd09 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

Change-Id: I3b477777a058f132e1848022cae0059ccc06c3b6
parents 721dd95d 18469210
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;