Merge "bootanimation: add empty lines parsing skip for desc.txt"
This commit is contained in:
@@ -1114,6 +1114,11 @@ bool BootAnimation::parseAnimationDesc(Animation& animation) {
|
|||||||
|
|
||||||
int nextReadPos;
|
int nextReadPos;
|
||||||
|
|
||||||
|
if (strlen(l) == 0) {
|
||||||
|
s = ++endl;
|
||||||
|
continue;
|
||||||
|
}
|
||||||
|
|
||||||
int topLineNumbers = sscanf(l, "%d %d %d %d", &width, &height, &fps, &progress);
|
int topLineNumbers = sscanf(l, "%d %d %d %d", &width, &height, &fps, &progress);
|
||||||
if (topLineNumbers == 3 || topLineNumbers == 4) {
|
if (topLineNumbers == 3 || topLineNumbers == 4) {
|
||||||
// SLOGD("> w=%d, h=%d, fps=%d, progress=%d", width, height, fps, progress);
|
// SLOGD("> w=%d, h=%d, fps=%d, progress=%d", width, height, fps, progress);
|
||||||
|
|||||||
Reference in New Issue
Block a user