diff options
author | Michael Weghorn <m.weghorn@posteo.de> | 2023-11-29 10:30:55 +0100 |
---|---|---|
committer | Michael Weghorn <m.weghorn@posteo.de> | 2023-11-30 12:17:14 +0100 |
commit | c82a594da3189fe82052f8081fda16e9e3cb0c0f (patch) | |
tree | 03653dfedaad8e30d44c85d42e76f4fe97513e5e /oovbaapi/genconstidl | |
parent | 322f8e8cb7d103a6666ceb212d43929aab2f111e (diff) |
tdf#124480 android: Avoid using color attr requiring API 23
Using "colorBackgroundFloating" requires API level 23 [1],
but our current minimum API level is 16 (when building with
NDK 23).
Therefore, define an own color `background_floating` instead
and use the correspodning color values from the material theme
(`background_floating_material_{dark,light}` depending on whether
dark/night mode is enabled or not.
This makes the app work again in a quick test with an x86 AVD
with API level 16 instead of crashing on startup.
Change-Id: I7b8378b42e9fc7430ec4ed263d4cb8b42027a930
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/160077
Tested-by: Jenkins
Reviewed-by: Michael Weghorn <m.weghorn@posteo.de>
Diffstat (limited to 'oovbaapi/genconstidl')
0 files changed, 0 insertions, 0 deletions