summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAbhijeet Kaur <abkaur@google.com>2019-08-02 15:47:47 +0100
committerRoman Kiryanov <rkir@google.com>2020-05-18 09:41:02 -0700
commit69f1b4ceeed291ae258ab6fb8e42bfec03fdf801 (patch)
tree7ae6dc810bfcfa0cffd30a3d45d39ddd1ca1f058
parent74654e4aa3163041e922a55e781a1ab9e3bea049 (diff)
downloadqemu-69f1b4ceeed291ae258ab6fb8e42bfec03fdf801.tar.gz
Remove notifications from bugreport generation using combo keys
In Q, we added a new bugreport API that asks for user consent before showing the "Share" notification for the bugreport. We will be migrating all bugreporting clients to use the API in R. In the new API workflow we are moving away from broadcasts and using callbacks to communicate with dumpstate. Finished bugreport notification broadcast used to share the final path of the bugreport but API now uses file descriptors instead. Hence, moving away from broadcasts. The full bugreport in this case can be retrieved from dumpstate directory using 'adb pull' or finding and attaching the file directly to gmail or betterbug. Remove outputfile flag since it's unused. Bug: 135186519 Bug: 137825702 Test: Build and flash to the device. Create a bugreport using combo keys, share notification does not pop up. Full bugreport created in bugreports/ dir Change-Id: Icc4d2577e2fa61aee4753b0336201fe3436e19e3 Merged-In: Icc4d2577e2fa61aee4753b0336201fe3436e19e3
-rw-r--r--init.ranchu.rc3
1 files changed, 1 insertions, 2 deletions
diff --git a/init.ranchu.rc b/init.ranchu.rc
index 9cc1a8a..60cd45e 100644
--- a/init.ranchu.rc
+++ b/init.ranchu.rc
@@ -110,8 +110,7 @@ service fingerprintd /system/bin/fingerprintd
class late_start
user system
-service bugreport /system/bin/dumpstate -d -p -B \
- -o /data/user_de/0/com.android.shell/files/bugreports/bugreport
+service bugreport /system/bin/dumpstate -d -p
class main
disabled
oneshot