From 4c8cab3acd9b5e2192744bdc29afbcdd777a7e22 Mon Sep 17 00:00:00 2001 From: Miranda Kephart Date: Thu, 12 May 2022 15:43:12 -0400 Subject: [PATCH] Move smart chips (if any) before capture more Bug: 229788461 Fix: 229788461 Test: manual Change-Id: I158ffb8737925041ffbc7f9db5572de289874f7e --- .../src/com/android/systemui/screenshot/ScreenshotView.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/SystemUI/src/com/android/systemui/screenshot/ScreenshotView.java b/packages/SystemUI/src/com/android/systemui/screenshot/ScreenshotView.java index 48bb2af2ab8d9..79939c87173be 100644 --- a/packages/SystemUI/src/com/android/systemui/screenshot/ScreenshotView.java +++ b/packages/SystemUI/src/com/android/systemui/screenshot/ScreenshotView.java @@ -820,7 +820,7 @@ public class ScreenshotView extends FrameLayout implements animateDismissal(); }); actionChip.setAlpha(1); - mActionsView.addView(actionChip); + mActionsView.addView(actionChip, mActionsView.getChildCount() - 1); mSmartChips.add(actionChip); } }