app_server: don't use BLaunchRoster for libbe_test

It cause starting launch_daemon for every test_app_server run.

Change-Id: I061ee1e1a7bb18f0e471a03885fbf1168393ba5b
Reviewed-on: https://review.haiku-os.org/c/haiku/+/2831
Reviewed-by: waddlesplash <[email protected]>
This commit is contained in:
X512
2020-05-28 14:24:03 +00:00
committed by waddlesplash
parent 4b5b437427
commit ca3e2eaaea
+2
View File
@@ -69,11 +69,13 @@ AppServer::AppServer(status_t* status)
// Create the bitmap allocator. Object declared in BitmapManager.cpp
gBitmapManager = new BitmapManager();
#ifndef HAIKU_TARGET_PLATFORM_LIBBE_TEST
// TODO: check the attached displays, and launch login session for them
BMessage data;
data.AddString("name", "app_server");
data.AddInt32("session", 0);
BLaunchRoster().Target("login", data);
#endif
}