mirror of
https://github.com/revanced/Apktool.git
synced 2025-05-01 14:44:26 +02:00
refactor: inline runnable on smali disassemble (#3490)
This commit is contained in:
parent
e08ba75776
commit
69914eb596
@ -217,14 +217,13 @@ public class ApkDecoder {
|
||||
}
|
||||
|
||||
private void scheduleDecodeSourcesSmali(File outDir, String filename) {
|
||||
Runnable r = () -> {
|
||||
mWorker.submit(() -> {
|
||||
try {
|
||||
decodeSourcesSmali(outDir, filename);
|
||||
} catch (AndrolibException e) {
|
||||
mBuildError.compareAndSet(null, new RuntimeException(e));
|
||||
}
|
||||
};
|
||||
mWorker.submit(r);
|
||||
});
|
||||
}
|
||||
|
||||
private void decodeSourcesSmali(File outDir, String filename) throws AndrolibException {
|
||||
|
Loading…
x
Reference in New Issue
Block a user