From 968702cff89f04d9f504c7d291d18c28c90d7b6e Mon Sep 17 00:00:00 2001 From: RunasSudo Date: Thu, 16 Jan 2025 21:44:04 +1100 Subject: [PATCH] Fix crash on Android O in StickyListHeaders There is a bug in StickyListHeaders which causes a crash "IllegalStateException: Handling non empty state of parent class is not implemented" on Android O - https://github.com/emilsjolander/StickyListHeaders/issues/477 This occurs, for example, in the bluetooth devices list. The fix, described in the linked GitHub issue, is to disable autofill and saving. --- app/src/main/res/layout/fragment_dialog_select_skill.xml | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/app/src/main/res/layout/fragment_dialog_select_skill.xml b/app/src/main/res/layout/fragment_dialog_select_skill.xml index 77fb9b4f2..9b5931ec3 100644 --- a/app/src/main/res/layout/fragment_dialog_select_skill.xml +++ b/app/src/main/res/layout/fragment_dialog_select_skill.xml @@ -11,10 +11,13 @@ android:layout_height="wrap_content" android:text="@string/title_select_operation" /> + + android:dividerHeight="1dp" + android:importantForAutofill="noExcludeDescendants" + android:saveEnabled="false" /> \ No newline at end of file