diff --git a/app/src/main/java/fr/xgouchet/packageexplorer/details/adapter/AppInfoViewHolder.kt b/app/src/main/java/fr/xgouchet/packageexplorer/details/adapter/AppInfoViewHolder.kt
index bf768ff..124e2f5 100644
--- a/app/src/main/java/fr/xgouchet/packageexplorer/details/adapter/AppInfoViewHolder.kt
+++ b/app/src/main/java/fr/xgouchet/packageexplorer/details/adapter/AppInfoViewHolder.kt
@@ -83,10 +83,12 @@ class AppInfoBulletViewHolder(
private val iconView: ImageView = itemView.findViewById(R.id.icon)
private val nameView: TextView = itemView.findViewById(R.id.name)
private val valueView: TextView = itemView.findViewById(R.id.value)
+ private val separatorView: TextView = itemView.findViewById(R.id.separator)
override fun onBindAppInfoItem(item: AppInfoBullet) {
nameView.text = item.name
valueView.text = item.value
+ separatorView.text = item.separator
iconView.setImageResource(item.icon)
}
}
diff --git a/app/src/main/java/fr/xgouchet/packageexplorer/details/adapter/AppInfoViewModel.kt b/app/src/main/java/fr/xgouchet/packageexplorer/details/adapter/AppInfoViewModel.kt
index 6e0ca50..d0b8b29 100644
--- a/app/src/main/java/fr/xgouchet/packageexplorer/details/adapter/AppInfoViewModel.kt
+++ b/app/src/main/java/fr/xgouchet/packageexplorer/details/adapter/AppInfoViewModel.kt
@@ -65,6 +65,7 @@ data class AppInfoBullet(
val name: String,
val value: String,
val raw: String? = null,
+ val separator: String = "=",
@DrawableRes val icon: Int = R.drawable.ic_bullet
) :
diff --git a/app/src/main/java/fr/xgouchet/packageexplorer/details/apk/ApkDetailsSource.kt b/app/src/main/java/fr/xgouchet/packageexplorer/details/apk/ApkDetailsSource.kt
index 35d5920..ff5b1c6 100644
--- a/app/src/main/java/fr/xgouchet/packageexplorer/details/apk/ApkDetailsSource.kt
+++ b/app/src/main/java/fr/xgouchet/packageexplorer/details/apk/ApkDetailsSource.kt
@@ -2,6 +2,8 @@ package fr.xgouchet.packageexplorer.details.apk
import android.content.Context
import android.content.pm.PackageManager
+import fr.xgouchet.packageexplorer.core.utils.exportManifestDomFromPackage
+import fr.xgouchet.packageexplorer.core.utils.parseDocumentToManifest
import fr.xgouchet.packageexplorer.details.DetailsSource
import fr.xgouchet.packageexplorer.details.adapter.AppInfoViewModel
import io.reactivex.ObservableEmitter
@@ -46,6 +48,8 @@ class ApkDetailsSource(
?: packageManager.getPackageArchiveInfo(path, PACKAGE_INFO_FLAGS_NO_SIGN)
if (packageInfo != null) {
+ androidManifestXml = exportManifestDomFromPackage(packageInfo).parseDocumentToManifest()
+
extractMainInfo(emitter, packageInfo, null, File(path))
extractSignatures(emitter, packageInfo)
diff --git a/app/src/main/res/layout/item_info_bullet.xml b/app/src/main/res/layout/item_info_bullet.xml
index 12bef99..d17da8a 100644
--- a/app/src/main/res/layout/item_info_bullet.xml
+++ b/app/src/main/res/layout/item_info_bullet.xml
@@ -32,20 +32,35 @@
app:layout_constraintTop_toTopOf="@+id/icon"
tools:text="Foo" />
+
+