[bugfix][T108] Solve the problem that module logs cannot be saved to files after sleep/wake-up
Only Configure: No
Affected branch: GSW_V1453
Affected module: log
Self-test: yes
Doc Update: no
Change-Id: I49972c6cfb5bd429cfc519a09c1db6881e314202
diff --git a/mbtk/mbtk_logd/alog_read.c b/mbtk/mbtk_logd/alog_read.c
index 20a6d0e..d05da17 100755
--- a/mbtk/mbtk_logd/alog_read.c
+++ b/mbtk/mbtk_logd/alog_read.c
@@ -379,7 +379,7 @@
if (ret < 0)
{
printf("read error\n");
- break;
+ continue;
}
alog_process(buf, ret, &entry);
android_log_printLogLine(&file_list, &entry);