From 6212a4c81febfabf1cff02d630edcd538d2db93d Mon Sep 17 00:00:00 2001 From: reuk Date: Tue, 22 Jul 2025 15:24:52 +0100 Subject: [PATCH] Android: Add an assertion to check that app style is only modified on the main thread --- modules/juce_gui_basics/native/juce_Windowing_android.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/modules/juce_gui_basics/native/juce_Windowing_android.cpp b/modules/juce_gui_basics/native/juce_Windowing_android.cpp index 112c01009d..22f446f709 100644 --- a/modules/juce_gui_basics/native/juce_Windowing_android.cpp +++ b/modules/juce_gui_basics/native/juce_Windowing_android.cpp @@ -2084,6 +2084,7 @@ public: void appStyleChanged() override { + JUCE_ASSERT_MESSAGE_THREAD refreshSystemBarsAndSetHidden (navBarsHidden); }