RequestedThemeChanged not invoked after Android 14 theme change
- Dominant language
- C#
- Stars
- 23.3k
- Forks
- 2k
- Avg merge
- 1d 10h
- Merged PRs (30d)
- 297
Description
### Description
`RequestedThemeChanged` is not being invoked after Theme change when using Android 14, however, from an Android 15, this is not an issue.
### Steps to Reproduce
Android 14
1. Download reproduction project
2. Deploy to Android 14 device
3. Sleep App and change Android Theme
4. Resume device
5. *** notice no change in theme **(issue)**
6. Sleep and Resume again
7. Theme will be changed
Andoid 15
1. Download reproduction project
2. Deploy to Android 15 device
3. Sleep App and change Android Theme
4. Resume device
5. Theme will be changed _(no issue)_
### Link to public reproduction project repository
https://github.com/d-harding/maui-theme-change-issue
### Version with bug
9.0.40 SR4
### Is this a regression from previous behavior?
Not sure, did not test other versions
### Last version that worked well
_No response_
### Affected platforms
I was *not* able test on other platforms
### Affected platform versions
Android 14 (might be more)
### Did you find any workaround?
No workaround found yet
### Relevant log output
```shell
Samsung S23 (One UI 6.1, Android 14)
[0:] App.OnStart
[0:] App.OnSleep
** Change Theme from Android Samsung
[0:] App.OnResume
ISSUE HERE: No "Theme change: ..." is invoked
[0:] App.OnSleep
[0:] App.OnResume
[0:] Theme change: Light
Android Emulator (Pixel 7, Android 15)
[0:] App.OnStart
[0:] App.OnSleep
** Change Theme from Android Pixel Emulator
[0:] App.OnResume
[0:] Theme change: Light
```
Contributor guide
Assessment
This issue has not been assessed yet.