fix xml string pool toJson error

This commit is contained in:
REAndroid 2023-01-10 09:55:56 -05:00
parent d96c4cb4ff
commit 6273ae33ec

View File

@ -198,7 +198,7 @@ package com.reandroid.lib.arsc.chunk.xml;
jsonObject.put(ResXmlBlock.NAME_element, getResXmlElement().toJson()); jsonObject.put(ResXmlBlock.NAME_element, getResXmlElement().toJson());
JSONArray pool = getStringPool().toJson(); JSONArray pool = getStringPool().toJson();
if(pool!=null){ if(pool!=null){
jsonObject.put(ResXmlBlock.NAME_styled_strings, getResXmlElement().toJson()); jsonObject.put(ResXmlBlock.NAME_styled_strings, pool);
} }
return jsonObject; return jsonObject;
} }