Revert "MediaRoster: Don't allow rosters without a BApplication"
This reverts commit f3c2f6665f.
This commit is contained in:
@@ -2302,7 +2302,7 @@ BMediaRoster::Roster(status_t* out_error)
|
|||||||
BAutolock lock(sInitLocker);
|
BAutolock lock(sInitLocker);
|
||||||
|
|
||||||
if (be_app == NULL)
|
if (be_app == NULL)
|
||||||
debugger("Warning! You should have a valid BApplication.");
|
TRACE("Warning! You should have a valid BApplication.");
|
||||||
|
|
||||||
if (!lock.IsLocked())
|
if (!lock.IsLocked())
|
||||||
return NULL;
|
return NULL;
|
||||||
|
|||||||
Reference in New Issue
Block a user