Change aapt's warning message to suggest formatted="false", not "true".
True is the default and specifying it won't suppress the warning. Change-Id: I8ecc919b4059bf3321e781649cb46dd2d3807592
This commit is contained in:
@@ -166,7 +166,7 @@ status_t hasSubstitutionErrors(const char* fileName,
|
||||
if (argCount > 1 && nonpositional) {
|
||||
SourcePos(String8(fileName), inXml->getLineNumber()).error(
|
||||
"Multiple substitutions specified in non-positional format; "
|
||||
"did you mean to add the formatted=\"true\" attribute?\n");
|
||||
"did you mean to add the formatted=\"false\" attribute?\n");
|
||||
return NOT_ENOUGH_DATA;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user