Merge "Fix a11y service icons are tiny after changing display size to "Largest"" into sc-v2-dev

This commit is contained in:
Menghan Li
2021-09-01 06:56:57 +00:00
committed by Android (Google) Code Review

View File

@@ -1013,7 +1013,8 @@ public final class Utils extends com.android.settingslib.Utils {
Drawable safeIcon = icon;
if ((icon != null) && !(icon instanceof VectorDrawable)) {
safeIcon = getSafeDrawable(icon, 500, 500);
safeIcon = getSafeDrawable(icon,
/* MAX_DRAWABLE_SIZE */ 600, /* MAX_DRAWABLE_SIZE */ 600);
}
return safeIcon;