commit | d164563641f6c32d7c4420f5e4f03a3072c3fb10 | [log] [tgz] |
---|---|---|
author | Daniel Norman <danielnorman@google.com> | Mon Feb 06 20:02:30 2023 +0000 |
committer | Daniel Norman <danielnorman@google.com> | Mon Feb 06 20:02:45 2023 +0000 |
tree | f05aa0d334e59cecc16e57afb0096499904aa982 | |
parent | da246fa0ad6b169d3a56cfe9d5698ef522e03339 [diff] |
Calls setTheme() in onCreate(). This ensures that the theme is applied when the service first launches, without waiting for the device config to change. Before this change enabling the service while the device was in dark mode would result in dark shortcut font until the user toggled dark mode off/on. Bug: 261252772 Test: Enable AccessibilityMenu in Settings while dark mode is on; observe light-colored shortcut labels. Change-Id: Ibc817d1d1fab57ac19f2c9847b95be08c14b1ddb