summaryrefslogtreecommitdiff
path: root/libs
diff options
context:
space:
mode:
Diffstat (limited to 'libs')
-rw-r--r--libs/WindowManager/Shell/src/com/android/wm/shell/desktopmode/DesktopModeVisualIndicator.java1
1 files changed, 1 insertions, 0 deletions
diff --git a/libs/WindowManager/Shell/src/com/android/wm/shell/desktopmode/DesktopModeVisualIndicator.java b/libs/WindowManager/Shell/src/com/android/wm/shell/desktopmode/DesktopModeVisualIndicator.java
index d96c0dd2707f..b3b4d59090e8 100644
--- a/libs/WindowManager/Shell/src/com/android/wm/shell/desktopmode/DesktopModeVisualIndicator.java
+++ b/libs/WindowManager/Shell/src/com/android/wm/shell/desktopmode/DesktopModeVisualIndicator.java
@@ -178,6 +178,7 @@ public class DesktopModeVisualIndicator {
/** Start the fade-in animation. */
void fadeInIndicator() {
+ if (mCurrentType == NO_INDICATOR) return;
mVisualIndicatorViewContainer.fadeInIndicator(
mDisplayController.getDisplayLayout(mTaskInfo.displayId), mCurrentType,
mTaskInfo.displayId);