From 37df67c027d463f83e2b71a586a68fa4ac3d5646 Mon Sep 17 00:00:00 2001 From: REAndroid Date: Tue, 14 Feb 2023 05:53:59 -0500 Subject: [PATCH] add type name on toString --- src/main/java/com/reandroid/arsc/chunk/TypeBlock.java | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/src/main/java/com/reandroid/arsc/chunk/TypeBlock.java b/src/main/java/com/reandroid/arsc/chunk/TypeBlock.java index 8aa5906f5..b110913d7 100755 --- a/src/main/java/com/reandroid/arsc/chunk/TypeBlock.java +++ b/src/main/java/com/reandroid/arsc/chunk/TypeBlock.java @@ -300,9 +300,10 @@ public void onBlockLoaded(BlockReader reader, Block sender) throws IOException { @Override public String toString(){ StringBuilder builder=new StringBuilder(); - builder.append(getResConfig().toString()); - builder.append(" "); - builder.append(super.toString()); + builder.append(getTypeName()); + builder.append('{'); + builder.append(getHeaderBlock()); + builder.append('}'); return builder.toString(); }