[SettingsProvider] extend font size scale range
As per requested in b/176940932#comment3 and b/156260178#comment32,
extending the valid font size scale range to [0.25, 5].
Existing CTS tests still pass.
BUG: 156260178
Test: atest android.provider.cts.settings.Settings_SystemTest
Test: atest android.app.cts.ApplicationTest
Change-Id: Icff82d727d63da4353342b0f9a5ca3c2ae1671c1
(cherry picked from commit df8852a0b5)
Merged-In: Icff82d727d63da4353342b0f9a5ca3c2ae1671c1
This commit is contained in:
@@ -3418,7 +3418,7 @@ public final class Settings {
|
||||
public static final String FONT_SCALE = "font_scale";
|
||||
|
||||
private static final Validator FONT_SCALE_VALIDATOR =
|
||||
new SettingsValidators.InclusiveFloatRangeValidator(0.85f, 1.3f);
|
||||
new SettingsValidators.InclusiveFloatRangeValidator(0.25f, 5.0f);
|
||||
|
||||
/**
|
||||
* The serialized system locale value.
|
||||
|
||||
Reference in New Issue
Block a user