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:
Eric Fischer
2010-08-13 14:49:55 -07:00
parent ae3a1f4595
commit 98ee11ddb7

View File

@@ -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;
}