dumpstate: zip bugreport when bugreportwear is in the extra_options.
BUG: 67464962
Change-Id: Ic95c558a425c2ad64b33b519cd6b0b21b0fd15e7
(cherry picked from commit 50a79132548ff57be5f0e1e03e12e507fe207314)
diff --git a/cmds/dumpstate/dumpstate.cpp b/cmds/dumpstate/dumpstate.cpp
index b1a03fa..0d3cb32 100644
--- a/cmds/dumpstate/dumpstate.cpp
+++ b/cmds/dumpstate/dumpstate.cpp
@@ -1613,6 +1613,7 @@
do_fb = 0;
} else if (ds.extra_options_ == "bugreportwear") {
ds.update_progress_ = true;
+ do_zip_file = 1;
} else if (ds.extra_options_ == "bugreporttelephony") {
telephony_only = true;
} else {