Merge "Make AaptGroupEntry::getMncName accept mnc00"
This commit is contained in:
@@ -685,13 +685,11 @@ bool AaptGroupEntry::getMncName(const char* name,
|
|||||||
if (*c != 0) return false;
|
if (*c != 0) return false;
|
||||||
if (c-val == 0 || c-val > 3) return false;
|
if (c-val == 0 || c-val > 3) return false;
|
||||||
|
|
||||||
int d = atoi(val);
|
if (out) {
|
||||||
if (d != 0) {
|
out->mnc = atoi(val);
|
||||||
if (out) out->mnc = d;
|
|
||||||
return true;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
return false;
|
return true;
|
||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
|
|||||||
Reference in New Issue
Block a user