Merge "Fix a11y service icons are tiny after changing display size to "Largest"" into sc-v2-dev
This commit is contained in:
@@ -1013,7 +1013,8 @@ public final class Utils extends com.android.settingslib.Utils {
|
|||||||
Drawable safeIcon = icon;
|
Drawable safeIcon = icon;
|
||||||
|
|
||||||
if ((icon != null) && !(icon instanceof VectorDrawable)) {
|
if ((icon != null) && !(icon instanceof VectorDrawable)) {
|
||||||
safeIcon = getSafeDrawable(icon, 500, 500);
|
safeIcon = getSafeDrawable(icon,
|
||||||
|
/* MAX_DRAWABLE_SIZE */ 600, /* MAX_DRAWABLE_SIZE */ 600);
|
||||||
}
|
}
|
||||||
|
|
||||||
return safeIcon;
|
return safeIcon;
|
||||||
|
Reference in New Issue
Block a user