mirror of
https://github.com/revanced/Apktool.git
synced 2025-05-01 22:54:24 +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) {
|
private void scheduleDecodeSourcesSmali(File outDir, String filename) {
|
||||||
Runnable r = () -> {
|
mWorker.submit(() -> {
|
||||||
try {
|
try {
|
||||||
decodeSourcesSmali(outDir, filename);
|
decodeSourcesSmali(outDir, filename);
|
||||||
} catch (AndrolibException e) {
|
} catch (AndrolibException e) {
|
||||||
mBuildError.compareAndSet(null, new RuntimeException(e));
|
mBuildError.compareAndSet(null, new RuntimeException(e));
|
||||||
}
|
}
|
||||||
};
|
});
|
||||||
mWorker.submit(r);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
private void decodeSourcesSmali(File outDir, String filename) throws AndrolibException {
|
private void decodeSourcesSmali(File outDir, String filename) throws AndrolibException {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user