// timer for disconnecting sessions after the screen was turned off
private static Timer disconnectTimer = null;
- public GlobalApp() {
- sessionMap = Collections.synchronizedMap(new HashMap<Long, SessionState>());
-
- LibFreeRDP.setEventListener(this);
- }
-
public static ManualBookmarkGateway getManualBookmarkGateway() {
return manualBookmarkGateway;
}
/* Initialize preferences. */
ApplicationSettingsActivity.get(this);
+ sessionMap = Collections.synchronizedMap(new HashMap<Long, SessionState>());
+
+ LibFreeRDP.setEventListener(this);
+
bookmarkDB = new BookmarkDB(this);
manualBookmarkGateway = new ManualBookmarkGateway(bookmarkDB);