[android] #2421 - Changing accessibility font scale to float for internal storage

This commit is contained in:
Brad Leege
2016-02-08 11:28:25 -08:00
parent dd2a218842
commit 184a089b84

View File

@@ -182,14 +182,14 @@ public class MapboxEventManager {
return "Background";
}
private String getAccesibilityFontScaleSize() {
private float getAccesibilityFontScaleSize() {
// Values
// Small = 0.85
// Normal = 1.0
// Large = 1.15
// Huge = 1.3
return String.valueOf(context.getResources().getConfiguration().fontScale);
return context.getResources().getConfiguration().fontScale;
}
private String getCellularCarrier() {