Silencing bug-reports for wear.
Bug reports can take some time to complete. The value of the vibration
is outweighed by it not being a proper notification respecting filtering
and mode settings.
Test: Manual
Bug: 229408381
(cherry picked from commit 17faea7a6ba856dc4a9a53e8c22c01b875e430bc)
(cherry picked from https://googleplex-android-review.googlesource.com/q/commit:7e6c6d7287cad96e6486bc0e551cb5d3e9823228)
Merged-In: I0483f3ed6cb9d928027fb7b77d457274f416eae3
Change-Id: I0483f3ed6cb9d928027fb7b77d457274f416eae3
NOTE FOR REVIEWERS - original patch and result patch are not identical.
PLEASE REVIEW CAREFULLY.
Diffs between the patches:
801,6 +2801,7 @@
options->do_screenshot = false;
break;
case Dumpstate::BugreportMode::BUGREPORT_WEAR:
+ options->do_vibrate = false;
options->do_progress_updates = true;
options->do_screenshot = is_screenshot_requested;
break;
Original patch:
From 7e6c6d7287cad96e6486bc0e551cb5d3e9823228 Mon Sep 17 00:00:00 2001
From: Matthew Small <mtsmall@google.com>
Date: Wed, 10 Aug 2022 21:15:44 +0000
Subject: [PATCH] Silencing bug-reports for wear.
Bug reports can take some time to complete. The value of the vibration
is outweighed by it not being a proper notification respecting filtering
and mode settings.
Test: Manual
Bug: 229408381
Change-Id: I0483f3ed6cb9d928027fb7b77d457274f416eae3
(cherry picked from commit 17faea7a6ba856dc4a9a53e8c22c01b875e430bc)
---
diff --git a/cmds/dumpstate/dumpstate.cpp b/cmds/dumpstate/dumpstate.cpp
index d5b1b98..0e42992 100644
--- a/cmds/dumpstate/dumpstate.cpp
+++ b/cmds/dumpstate/dumpstate.cpp
@@ -2801,6 +2801,7 @@
options->do_screenshot = false;
break;
case Dumpstate::BugreportMode::BUGREPORT_WEAR:
+ options->do_vibrate = false;
options->do_progress_updates = true;
options->do_screenshot = is_screenshot_requested;
break;