mirror of
https://github.com/openharmony/ability_dmsfwk_lite.git
synced 2026-07-19 14:43:35 -04:00
update source/dmslite_session.c.
Signed-off-by: zjucx <chengxiang4@huawei.com>
This commit is contained in:
@@ -34,7 +34,7 @@
|
||||
#define DMS_MODULE_NAME "dms"
|
||||
|
||||
#define INVALID_SESSION_ID (-1)
|
||||
#define MAX_DATA_SIZE 256
|
||||
#define MAX_DATA_SIZE 1024
|
||||
#define TIMEOUT 60
|
||||
|
||||
static int32_t g_curSessionId = INVALID_SESSION_ID;
|
||||
@@ -228,6 +228,7 @@ void CloseDMSSession()
|
||||
|
||||
void InvokeCallback(const void *data, int32_t result)
|
||||
{
|
||||
g_curBusy = false;
|
||||
if (g_listener == NULL) {
|
||||
return;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user