mirror of
https://github.com/revanced/Apktool.git
synced 2024-12-04 18:12:54 +01:00
style: add comment for explanation of 9patch minimization
This commit is contained in:
parent
bc9f465f3e
commit
5a51c5f96d
@ -173,6 +173,9 @@ public class Androlib {
|
||||
unk.getSize(file) != 0) {
|
||||
|
||||
ext = FilenameUtils.getExtension(file);
|
||||
|
||||
// If we don't have a png extension, but we have multiple "dots", we may have another iteration
|
||||
// of OEM specific 9patch files. We need to record full path for these.
|
||||
if (ext.isEmpty() || (!ext.equals("png") && StringUtils.countMatches(file, ".") > 1)) {
|
||||
ext = file;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user