From 6a4e491da121b560fca96686b16f3278fb48981a Mon Sep 17 00:00:00 2001 From: Pat Manning Date: Wed, 19 Jul 2023 12:26:35 +0100 Subject: [PATCH] Prevent showing action button edu tooltip in grid only overview. Fix: 291232225 Test: OverviewActionsControllerTest. Flag: ENABLE_GRID_ONLY_OVERVIEW Change-Id: I3d2881fea26ddfdda8540e3609733f6261e40458 --- .../com/android/quickstep/views/OverviewActionsView.java | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/quickstep/src/com/android/quickstep/views/OverviewActionsView.java b/quickstep/src/com/android/quickstep/views/OverviewActionsView.java index e47c0893e5..b31791a9a0 100644 --- a/quickstep/src/com/android/quickstep/views/OverviewActionsView.java +++ b/quickstep/src/com/android/quickstep/views/OverviewActionsView.java @@ -257,6 +257,13 @@ public class OverviewActionsView extends FrameLayo return mMultiValueAlpha.get(INDEX_SCROLL_ALPHA); } + /** + * Returns the visibility of the overview actions buttons. + */ + public @Visibility int getActionsButtonVisibility() { + return findViewById(R.id.action_buttons).getVisibility(); + } + /** * Offsets OverviewActionsView horizontal position based on 3 button nav container in taskbar. */