Skip to content

Commit 69090aa

Browse files
committed
Initialize SourceInfo if not initialized by java extractor
1 parent bf4d4eb commit 69090aa

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

app/src/main/kotlin/com/njlabs/showjava/decompilers/ResourcesExtractionWorker.kt

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -234,6 +234,8 @@ class ResourcesExtractionWorker(context: Context, data: Data) : BaseDecompiler(c
234234
// Due to its dependency on the javax.imageio.ImageIO class which is unavailable on android
235235

236236
val sourceInfo = SourceInfo.from(workingDirectory)
237+
.setPackageLabel(packageLabel)
238+
.setPackageName(packageName)
237239

238240
if (type == PackageInfo.Type.APK) {
239241
parsedInputApkFile = ApkFile(inputPackageFile)

0 commit comments

Comments
 (0)