Fixed
Status Update
Comments
ku...@google.com <ku...@google.com>
ku...@google.com <ku...@google.com> #2
Hi Ed, Thank you so much for these suggestions. I've been reviewing them and merging them in. Hopefully it should be live. I've included a thank you note too in the article.
my...@gmail.com <my...@gmail.com> #3
Great! Thanks a lot, I'll look for the live updates soon!
ku...@google.com <ku...@google.com> #4
Thank you for reporting this issue. We have shared this with our product and engineering team and will update this issue with more information as it becomes available.
ch...@google.com <ch...@google.com> #5
The fix for this went out in AppCompat v1.1.0-alpha03.
pu...@gmail.com <pu...@gmail.com> #6
The bug is still there with appcompat v1.7.0-alpha01
Description
Version used: 27.1.1
Theme used: Theme.AppCompat.DayNight.NoActionBar
Devices/Android versions reproduced on: OnePlus 5, LineageOS 15.1/Android 8.1 (also seen reports on other devices)
- Relevant code to trigger the issue.
AppCompatDelegate.setDefaultNightMode(AppCompatDelegate.MODE_NIGHT_FOLLOW_SYSTEM) followed by recreate() doesn't recreate the activity with correct day/night mode (it's still using the previous settings).
Test APK:
More information and a workaround: