Add logs related to bugreport timing from GlobalActions
Flag: None
Bug: 313851266
Test: logcat
Change-Id: I786a47d52edf5062759cfcf65b6737d027294b0b
diff --git a/packages/SystemUI/src/com/android/systemui/globalactions/GlobalActionsDialogLite.java b/packages/SystemUI/src/com/android/systemui/globalactions/GlobalActionsDialogLite.java
index 45433e6..3de9e68 100644
--- a/packages/SystemUI/src/com/android/systemui/globalactions/GlobalActionsDialogLite.java
+++ b/packages/SystemUI/src/com/android/systemui/globalactions/GlobalActionsDialogLite.java
@@ -1054,6 +1054,7 @@
return;
}
Trace.instantForTrack(Trace.TRACE_TAG_APP, "bugreport", "BugReportAction#onPress");
+ Log.d(TAG, "BugReportAction#onPress");
// Add a little delay before executing, to give the
// dialog a chance to go away before it takes a
// screenshot.
@@ -1069,6 +1070,7 @@
Log.w(TAG, "Bugreport handler could not be launched");
Trace.instantForTrack(Trace.TRACE_TAG_APP, "bugreport",
"BugReportAction#requestingInteractiveBugReport");
+ Log.d(TAG, "BugReportAction#requestingInteractiveBugReport");
mIActivityManager.requestInteractiveBugReport();
}
} catch (RemoteException e) {
@@ -1090,6 +1092,7 @@
mUiEventLogger.log(GlobalActionsEvent.GA_BUGREPORT_LONG_PRESS);
Trace.instantForTrack(Trace.TRACE_TAG_APP, "bugreport",
"BugReportAction#requestingFullBugReport");
+ Log.d(TAG, "BugReportAction#requestingFullBugReport");
mIActivityManager.requestFullBugReport();
} catch (RemoteException e) {
}