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

Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/15659644

Change-Id: I5626624e21c0084f861fee45a6a9b67167695bf1
This commit is contained in:
Menghan Li
2021-09-01 07:16:03 +00:00
committed by Automerger Merge Worker

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;