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: wangdongdong <wangdongdong14@huawei.com>
This commit is contained in:
@@ -68,10 +68,10 @@ void OnStartAbilityDone(int8_t errCode)
|
||||
{
|
||||
HILOGD("[onStartAbilityDone errCode = %d]", errCode);
|
||||
}
|
||||
|
||||
u
|
||||
void OnBytesReceived(int32_t sessionId, const void *data, uint32_t dataLen)
|
||||
{
|
||||
HILOGD("[OnBytesReceived dataLen = %d]", dataLen);
|
||||
HILOGD("[OnBytesReceived dataLen = %u]", dataLen);
|
||||
if (data == NULL || dataLen > MAX_DATA_SIZE) {
|
||||
HILOGE("[OnBytesReceived param error");
|
||||
InvokeCallback(NULL, DMS_EC_INVALID_PARAMETER);
|
||||
|
||||
Reference in New Issue
Block a user