From 603c697d8914e9949f149b74324d32e220db5f77 Mon Sep 17 00:00:00 2001 From: Matt Casey Date: Mon, 3 Jun 2019 19:21:34 -0400 Subject: [PATCH] Ignore setAssistHintVisible if overlays are not available. Fixes: 134066197 Test: TBD Change-Id: If18322aa939e3433f5c3543699f91d06af7989e1 --- .../SystemUI/src/com/android/systemui/ScreenDecorations.java | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/packages/SystemUI/src/com/android/systemui/ScreenDecorations.java b/packages/SystemUI/src/com/android/systemui/ScreenDecorations.java index 4aaf85adfce64..5e192193a87a5 100644 --- a/packages/SystemUI/src/com/android/systemui/ScreenDecorations.java +++ b/packages/SystemUI/src/com/android/systemui/ScreenDecorations.java @@ -199,6 +199,10 @@ public class ScreenDecorations extends SystemUI implements Tunable, return; } + if (mOverlay == null || mBottomOverlay == null) { + return; + } + if (mAssistHintVisible != visible) { mAssistHintVisible = visible;