diff options
| author | 2024-01-15 16:18:20 +0000 | |
|---|---|---|
| committer | 2024-01-25 00:33:01 +0000 | |
| commit | fa28ce36c675eb8853a8b788cb2623bc266bee24 (patch) | |
| tree | 8302b0bfb3524ac27f9bdb54c4a9840286abd4c7 /libs/androidfw/StringPool.cpp | |
| parent | 5d6bfa83dfecf61d2b582353d0d9421e8e702b21 (diff) | |
[2/n] Add configurable font_scale
Adds the `def_device_font_scale` default property to set the initial value
for the font_scale property.
This is used when the device is configured for the first time or
when a new user is created.
The value is read from the def_font_scale resource and stored
in Settings using the Settings.System.DEFAULT_DEVICE_FONT_SCALE key.
Bug:316160749
Test: adb shell settings get system font_scale
Test: atest FrameworksCoreTests:FontScaleConverterFactoryTest
Change-Id: I21e0f04605c43f238440fed535c0c0365d700cb9
Diffstat (limited to 'libs/androidfw/StringPool.cpp')
0 files changed, 0 insertions, 0 deletions