Commit ba872475 authored by Pete Williamson's avatar Pete Williamson Committed by Commit Bot

Dismiss the card menu before taking screenshot for feedback.

The card menu was visible in the screenshot for send feedback.
This change makes sure it is dismissed before asking for a screenshot.

Bug: 1117314
Change-Id: Iccad8c7ceddf21ac27bbed2515e222b76299304f
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2360504Reviewed-by: default avatarDan H <harringtond@chromium.org>
Commit-Queue: Peter Williamson <petewil@chromium.org>
Cr-Commit-Position: refs/heads/master@{#799126}
parent 91605e4e
...@@ -703,6 +703,9 @@ public class FeedStreamSurface implements SurfaceActionsHandler, FeedActionsHand ...@@ -703,6 +703,9 @@ public class FeedStreamSurface implements SurfaceActionsHandler, FeedActionsHand
FeedStreamSurfaceJni.get().reportSendFeedbackAction( FeedStreamSurfaceJni.get().reportSendFeedbackAction(
mNativeFeedStreamSurface, FeedStreamSurface.this); mNativeFeedStreamSurface, FeedStreamSurface.this);
// Make sure the bottom sheet is dismissed before we take a snapshot.
dismissBottomSheet();
Profile profile = Profile.getLastUsedRegularProfile(); Profile profile = Profile.getLastUsedRegularProfile();
if (profile == null) { if (profile == null) {
return; return;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment