Assigned
Status Update
Comments
ra...@google.com <ra...@google.com>
ra...@google.com <ra...@google.com> #2
Thank you for reporting this issue. Please upload the AOSP patch following this guidance
Description
On Android 15 Pixel devices, the UiModeManager does not correctly apply the theme on the first app launch, unlike in previous Android versions. Instead, the application initially loads with the theme matching the OS settings. On the second launch, the theme is applied correctly as intended.
Steps to reproduce:
1: Set the device to Dark mode
2: Install and launch the provided sample application
3: The first Activity loads with dark mode incorrectly
4: The second Activity loads with light mode correctly
5: Swipe out the application and launch it again
6: Both Activity have the correct light mode
Expected behaviour:
Every Activity should load with the correct theme settings.
The issue does NOT occur under the following conditions:
-On non-Pixel devices running Android 15
-On any device running versions of Android under 15
-If the theme is set with AppCompatDelegate::setDefaultNightMode
Device Information:
Google Pixel 7 Pro
Android 15
AP4A.250105.002
Attached Files:
-Sample code
-Video evidence