From cc9304a4ef7dac9b826afa65f895db0703870334 Mon Sep 17 00:00:00 2001 From: Muntashir Al-Islam Date: Thu, 7 Sep 2023 23:58:45 +0600 Subject: [PATCH] [APK] Ensure that the ID for base APK always remains the same Signed-off-by: Muntashir Al-Islam --- .../java/io/github/muntashirakon/AppManager/apk/ApkFile.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/src/main/java/io/github/muntashirakon/AppManager/apk/ApkFile.java b/app/src/main/java/io/github/muntashirakon/AppManager/apk/ApkFile.java index d5c8aa9df0c..5372094f203 100644 --- a/app/src/main/java/io/github/muntashirakon/AppManager/apk/ApkFile.java +++ b/app/src/main/java/io/github/muntashirakon/AppManager/apk/ApkFile.java @@ -578,7 +578,7 @@ public class Entry implements AutoCloseable, LocalizedString { Entry(@NonNull File source, @NonNull ByteBuffer manifest) { mSource = Objects.requireNonNull(source); - id = source.getAbsolutePath(); + id = "base-apk"; // A safe ID since others ends with `.apk` name = "Base.apk"; type = APK_BASE; mRequired = true;