mirror of
https://github.com/revanced/ARSCLib.git
synced 2025-04-29 22:04:25 +02:00
fix: attribute name for scalar entries
This commit is contained in:
parent
c7c6863bbd
commit
5301d4cbf2
@ -21,7 +21,6 @@ import com.reandroid.arsc.value.ResTableMapEntry;
|
||||
import com.reandroid.arsc.value.attribute.AttributeBag;
|
||||
import com.reandroid.arsc.value.attribute.AttributeBagItem;
|
||||
import com.reandroid.common.EntryStore;
|
||||
import com.reandroid.xml.XMLElement;
|
||||
|
||||
import java.io.IOException;
|
||||
|
||||
|
@ -31,6 +31,7 @@ public class DecoderResTableEntry<OUTPUT> extends DecoderTableEntry<ResTableEntr
|
||||
Entry entry = tableEntry.getParentEntry();
|
||||
String tag = XmlHelper.toXMLTagName(entry.getTypeName());
|
||||
writer.startTag(tag);
|
||||
writer.attribute("name", entry.getName());
|
||||
writeText(writer, entry.getPackageBlock(), tableEntry.getValue());
|
||||
return writer.endTag(tag);
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user