From 7587947bb856d2e8e9f18e545aabee1e39b141e5 Mon Sep 17 00:00:00 2001 From: androiddevkkotlin Date: Thu, 12 Nov 2020 17:09:45 +0200 Subject: [PATCH] Crash on profile import https://github.com/osmandapp/OsmAnd-Issues/issues/257 --- .../osmand/plus/settings/fragments/ImportSettingsFragment.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/OsmAnd/src/net/osmand/plus/settings/fragments/ImportSettingsFragment.java b/OsmAnd/src/net/osmand/plus/settings/fragments/ImportSettingsFragment.java index 48b8e7a6ee..443cd583f0 100644 --- a/OsmAnd/src/net/osmand/plus/settings/fragments/ImportSettingsFragment.java +++ b/OsmAnd/src/net/osmand/plus/settings/fragments/ImportSettingsFragment.java @@ -141,7 +141,7 @@ public class ImportSettingsFragment extends BaseOsmAndFragment { progressBar = root.findViewById(R.id.progress_bar); setupToolbar(toolbar); ViewCompat.setNestedScrollingEnabled(expandableList, true); - View header = inflater.inflate(R.layout.list_item_description_header, container, false); + View header = inflater.inflate(R.layout.list_item_description_header, null); description = header.findViewById(R.id.description); description.setText(R.string.select_data_to_import); expandableList.addHeaderView(header);