/** * Returns TRUE if the application is visible and FALSE otherwise. This method is meant to be used * by the systray service in order to detect the visibility of the application. * * @return <code>true</code> if the application is visible and <code>false</code> otherwise. * @see #setVisible(boolean) */ public boolean isVisible() { return JitsiApplication.getCurrentActivity() != null; }