private static WindowManagerEx getWindowManager() {
    Application app = LoadingState.COMPONENTS_LOADED.isOccurred() ? ApplicationManager.getApplication() : null;
    return app == null ? null : WindowManagerEx.getInstanceEx();
  }
private static WindowManagerEx getWindowManager()