Skip to content

Commit a2724da

Browse files
committed
XAPK Support
1 parent 50406f0 commit a2724da

2 files changed

Lines changed: 10 additions & 0 deletions

File tree

src/main/java/the/bytecode/club/bytecodeviewer/gui/MainViewerGUI.java

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -733,6 +733,15 @@ public void calledAfterLoad() {
733733
deleteForeignOutdatedLibs.setSelected(Configuration.deleteForeignLibraries);
734734
}
735735

736+
public synchronized void clearBusyStatus()
737+
{
738+
for (int i = 0; i < waitIcons.length; i++)
739+
{
740+
waitIcons[i].setIcon(null);
741+
waitIcons[i].updateUI();
742+
}
743+
}
744+
736745
public synchronized void updateBusyStatus(final boolean busy) {
737746
SwingUtilities.invokeLater(() -> {
738747
if (busy) {

src/main/java/the/bytecode/club/bytecodeviewer/resources/importing/impl/XAPKResourceImporter.java

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -70,6 +70,7 @@ public boolean open(File file) throws Exception
7070
}
7171
}
7272
Configuration.silenceExceptionGUI--; //turn exceptions back on
73+
BytecodeViewer.viewer.clearBusyStatus(); //clear errant busy signals from failed APK imports
7374

7475
container.classes.addAll(allDirectoryClasses.values());
7576
container.files = allDirectoryFiles;

0 commit comments

Comments
 (0)