XAPK Support

This commit is contained in:
Konloch 2021-06-29 11:31:38 -07:00
parent 50406f03e9
commit a2724daa8a
2 changed files with 10 additions and 0 deletions

View file

@ -733,6 +733,15 @@ public class MainViewerGUI extends JFrame
deleteForeignOutdatedLibs.setSelected(Configuration.deleteForeignLibraries); deleteForeignOutdatedLibs.setSelected(Configuration.deleteForeignLibraries);
} }
public synchronized void clearBusyStatus()
{
for (int i = 0; i < waitIcons.length; i++)
{
waitIcons[i].setIcon(null);
waitIcons[i].updateUI();
}
}
public synchronized void updateBusyStatus(final boolean busy) { public synchronized void updateBusyStatus(final boolean busy) {
SwingUtilities.invokeLater(() -> { SwingUtilities.invokeLater(() -> {
if (busy) { if (busy) {

View file

@ -70,6 +70,7 @@ public class XAPKResourceImporter implements Importer
} }
} }
Configuration.silenceExceptionGUI--; //turn exceptions back on Configuration.silenceExceptionGUI--; //turn exceptions back on
BytecodeViewer.viewer.clearBusyStatus(); //clear errant busy signals from failed APK imports
container.classes.addAll(allDirectoryClasses.values()); container.classes.addAll(allDirectoryClasses.values());
container.files = allDirectoryFiles; container.files = allDirectoryFiles;