From 624832e5defa12aee440055df3649eb03304acfd Mon Sep 17 00:00:00 2001 From: Abhijeet Kaur Date: Thu, 8 Aug 2019 15:14:39 +0100 Subject: [PATCH] Turn on feature flag to use bugreport API by default Bug: 136548098 Test: build, flash, take bugreport from Settings uses API workflow by default. Turning off the feature flag from Settings uses old bugreport workflow Change-Id: Icbfa82e2dc218769fdcc03d15ce3cc7bb50cc4ef --- src/com/android/settings/BugreportPreference.java | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/com/android/settings/BugreportPreference.java b/src/com/android/settings/BugreportPreference.java index ee551c180da..dfefe5ae72f 100644 --- a/src/com/android/settings/BugreportPreference.java +++ b/src/com/android/settings/BugreportPreference.java @@ -110,11 +110,11 @@ public class BugreportPreference extends CustomDialogPreferenceCompat { try { final Context context = getContext(); // USE_BUGREPORT_API is a system property flag used to switch back to the old workflow - // using dumpstate. By using the default value as false, old workflow remains - // untouched. To switch to the new workflow using Bugreport API run the following - // commands on the terminal: + // using dumpstate. By using the default value as true, new workflow using Bugreport + // API is triggered. To switch to the old workflow directly using dumpstate run the + // following commands on the terminal: // * adb root - // * adb shell setprop settings_use_bugreport_api true + // * adb shell setprop settings_use_bugreport_api false if (FeatureFlagUtils.isEnabled(context, FeatureFlagUtils.USE_BUGREPORT_API)) { Intent triggerShellBugreport = new Intent(); triggerShellBugreport.setAction(INTENT_BUGREPORT_REQUESTED);