From 026b9998a1a57c3eccae35ee91d5ef969310f9f0 Mon Sep 17 00:00:00 2001 From: buxx Date: Sun, 4 Oct 2026 03:30:14 +0000 Subject: [PATCH] 0007 Fix settings crash by allowing non-miui themes Change-Id: Id878235f0781ec57dc45aa85caf0cdac5aa201d9 --- .../fragment_dialog_ambilight_description.xml | 2 +- res/layout/fragment_mimoji_emoticon.xml | 2 +- ...ix_compat_simple_spinner_dropdown_item.xml | 2 +- ...compat_spinner_dropdown_checkable_item.xml | 2 +- res/layout/more_mode_style_settings.xml | 4 +- res/values/styles.xml | 10 +- .../internal/app/ActionBarDelegateImpl.smali | 53 +---- .../miui/internal/app/ActivityDelegate.smali | 28 +-- .../miui/internal/app/FragmentDelegate.smali | 26 +-- ...neWindow_class$LayoutInflaterWrapper.smali | 10 +- .../miui/internal/view/ActionBarPolicy.smali | 30 +-- .../view/menu/ActionMenuPresenter.smali | 13 +- .../miui/internal/view/menu/MenuBuilder.smali | 13 +- .../internal/view/menu/MenuPopupHelper.smali | 14 +- .../internal/widget/AbsActionBarView.smali | 15 +- .../miui/internal/widget/ActionBarView.smali | 36 +--- smali_classes8/miui/app/Activity.smali | 192 +++--------------- smali_classes8/miui/app/ListFragment.smali | 15 +- .../miui/widget/ArrowPopupWindow.smali | 39 +--- 19 files changed, 60 insertions(+), 446 deletions(-) diff --git a/res/layout/fragment_dialog_ambilight_description.xml b/res/layout/fragment_dialog_ambilight_description.xml index 204639ef..52e8d07d 100644 --- a/res/layout/fragment_dialog_ambilight_description.xml +++ b/res/layout/fragment_dialog_ambilight_description.xml @@ -1,7 +1,7 @@ - + diff --git a/res/layout/fragment_mimoji_emoticon.xml b/res/layout/fragment_mimoji_emoticon.xml index e41565da..ef55195b 100644 --- a/res/layout/fragment_mimoji_emoticon.xml +++ b/res/layout/fragment_mimoji_emoticon.xml @@ -3,7 +3,7 @@ xmlns:android="http://schemas.android.com/apk/res/android"> - + diff --git a/res/layout/miuix_compat_simple_spinner_dropdown_item.xml b/res/layout/miuix_compat_simple_spinner_dropdown_item.xml index 705e591a..b0e7e47b 100644 --- a/res/layout/miuix_compat_simple_spinner_dropdown_item.xml +++ b/res/layout/miuix_compat_simple_spinner_dropdown_item.xml @@ -1,3 +1,3 @@ - diff --git a/res/layout/miuix_compat_spinner_dropdown_checkable_item.xml b/res/layout/miuix_compat_spinner_dropdown_checkable_item.xml index 27c29933..8663f2b0 100644 --- a/res/layout/miuix_compat_spinner_dropdown_checkable_item.xml +++ b/res/layout/miuix_compat_spinner_dropdown_checkable_item.xml @@ -1,5 +1,5 @@ - diff --git a/res/layout/more_mode_style_settings.xml b/res/layout/more_mode_style_settings.xml index 7edd1774..bb0f3f05 100644 --- a/res/layout/more_mode_style_settings.xml +++ b/res/layout/more_mode_style_settings.xml @@ -6,7 +6,7 @@ - + @@ -14,6 +14,6 @@ - + diff --git a/res/values/styles.xml b/res/values/styles.xml index e2f325a4..ea70315b 100644 --- a/res/values/styles.xml +++ b/res/values/styles.xml @@ -870,7 +870,7 @@ #ffffff true - - - -