Skip to content

Commit

Permalink
losen filetype rules to handle aapt2 changes
Browse files Browse the repository at this point in the history
  • Loading branch information
iBotPeaches committed Aug 22, 2017
1 parent 2e90bb2 commit 9acca19
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions tools/aapt/Resource.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -314,8 +314,9 @@ static status_t makeFileResources(Bundle* bundle, const sp<AaptAssets>& assets,
if (!((*str >= 'a' && *str <= 'z')
|| (*str >= 'A' && *str <= 'Z')
|| (*str >= '0' && *str <= '9')
|| *str == '_' || *str == '.')) {
fprintf(stderr, "%s: Invalid file name: must contain only [a-zA-Z0-9_.]. Ignoring...\n",
|| *str == '_' || *str == '.'
|| *str == '$')) {
fprintf(stderr, "%s: Invalid file name: must contain only [a-zA-Z0-9$_.]. Ignoring...\n",
it.getPath().string());
//hasErrors = true;
}
Expand Down

0 comments on commit 9acca19

Please sign in to comment.