Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Aw: Support simplified dark mode for pre-Q platform
WebView relies on android.R.attr.isLightTheme to detect if the app in dark theme, it only works for Q+, this patch finds isLightTheme resource by name for pre-Q platform, Android X uses this attri for dark theme, it should work for most cases. Bug: 1345249 Change-Id: I83fbd16bd9944e1fcd08473cb394fb9cd00e4a81 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/3782978 Reviewed-by: Richard Coles <torne@chromium.org> Commit-Queue: Michael Bai <michaelbai@chromium.org> Cr-Commit-Position: refs/heads/main@{#1027349}
- Loading branch information