From 8e6f131e443cd07de879b1728f81eed49fec57f9 Mon Sep 17 00:00:00 2001 From: Amir Zaidi Date: Sun, 23 Feb 2020 17:50:31 +0100 Subject: [PATCH] Shade: Set revealed to false in onResume only if there is no filter --- shade/src/amirz/shade/ShadeLauncherCallbacks.java | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/shade/src/amirz/shade/ShadeLauncherCallbacks.java b/shade/src/amirz/shade/ShadeLauncherCallbacks.java index 429ab055a..47c266b57 100644 --- a/shade/src/amirz/shade/ShadeLauncherCallbacks.java +++ b/shade/src/amirz/shade/ShadeLauncherCallbacks.java @@ -166,7 +166,9 @@ public void onResume() { } UnreadSession.getInstance(mLauncher).onResume(); - HiddenAppsDrawerState.getInstance(mLauncher).setRevealed(false); + if (!mLauncher.getAppsView().getApps().hasFilter()) { + HiddenAppsDrawerState.getInstance(mLauncher).setRevealed(false); + } } @Override