Fixed
Status Update
Comments
ap...@google.com <ap...@google.com> #2
Are there many use cases for this? The current logic works fine with dark mode of platform, appcompat, and Compose.
da...@google.com <da...@google.com>
na...@google.com <na...@google.com> #3
When I was trying out integrating this with Now in Android, I ran into this issue since Now in Android currently doesn't inherit from AppCompatActivity
and doesn't call AppCompatDelegate.setDefaultNightMode
, so maybe the solution is instead to inherit from AppCompatActivity
instead of just ComponentActivity
to update the underlying configuration.
Description
See comment:https://android-review.git.corp.google.com/c/platform/frameworks/support/+/2322095/comment/502aff66_2aa8592d/