diff --git a/app/llx/core/src/main/java/net/pierrox/lightning_launcher/script/api/LL.java b/app/llx/core/src/main/java/net/pierrox/lightning_launcher/script/api/LL.java index c037abf..4346e23 100644 --- a/app/llx/core/src/main/java/net/pierrox/lightning_launcher/script/api/LL.java +++ b/app/llx/core/src/main/java/net/pierrox/lightning_launcher/script/api/LL.java @@ -394,7 +394,9 @@ public class LL { * Returns whether the current context is paused. It often means that Lightning Launcher is not displayed, for instance because another app is running. * When the script is executed in the background this method always returns true. * - * @deprecated no alternative + * @deprecated use {@link net.pierrox.lightning_launcher.script.api.screen.Screen#isPaused()} instead together with {@link Lightning#getHomeScreen()} + * (difference: this function returns false if any screen is not paused, not only the HomeScreen. For an exact substitute check all the other screens too) + *
LL.isPaused(tag) ~> getHomeScreen().isPaused() */ public boolean isPaused() { boolean paused = true;