Fixed package name mismatch for custom apk generation

This commit is contained in:
mhutti1 2016-03-01 21:01:09 +00:00
parent f585402c61
commit a623ce9fde

View File

@ -330,7 +330,7 @@ def step_update_xml_nodes(jsdata, **options):
soup = soup = BeautifulSoup(open(toolbar_xml, 'r'),
'xml', from_encoding='utf-8')
item = soup.find('org.kiwix.kiwixmobile.views.AnimatedProgressBar')
item.name = '{}.AnimatedProgressBar'.format(jsdata.get('package'))
item.name = '{}.views.AnimatedProgressBar'.format(jsdata.get('package'))
flushxml(soup, 'RelativeLayout', toolbar_xml, head=False)