From 90acc4a07028bce2d6ded80e0ec92f96a08f8321 Mon Sep 17 00:00:00 2001 From: nift4 Date: Wed, 31 Mar 2021 08:40:42 +0200 Subject: [PATCH] even moar fixes --- .../app/ui/addrom/UpROMWelcomeWizardPageFragment.java | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/app/src/main/java/org/androidbootmanager/app/ui/addrom/UpROMWelcomeWizardPageFragment.java b/app/src/main/java/org/androidbootmanager/app/ui/addrom/UpROMWelcomeWizardPageFragment.java index 04edd2e3..08d80b4f 100644 --- a/app/src/main/java/org/androidbootmanager/app/ui/addrom/UpROMWelcomeWizardPageFragment.java +++ b/app/src/main/java/org/androidbootmanager/app/ui/addrom/UpROMWelcomeWizardPageFragment.java @@ -48,10 +48,11 @@ else if (e.config.get("xtype").equals("SFOS")) else imodel.setROM(l.getROMs().stream().filter(r -> r.scriptname.equals("other_os.sh")).findFirst().get()); imodel.getName().add(e.config.get("title")); - imodel.getName().add(e.file.replace("/data/abm/bootset/lk2nd/entries/","").replace(".cfg","")); + imodel.getName().add(e.file.replace("/data/abm/bootset/lk2nd/entries/","").replace(".conf","")); Objects.requireNonNull(imodel.getROM().getValue()).parts.clear(); Objects.requireNonNull(imodel.getROM().getValue()).flashes.clear(); Objects.requireNonNull(imodel.getROM().getValue()).strings.clear(); + Objects.requireNonNull(imodel.getROM().getValue()).fullPath = "FORMATDATA=false " + imodel.getROM().getValue().fullPath; final View root = inflater.inflate(R.layout.wizard_installer_welcome, container, false); final TextView message = root.findViewById(R.id.wizard_installer_welcome_txt); message.setText(R.string.kernel_update_msg);