Merge "Scale the work profile background properly" into qt-r1-dev

This commit is contained in:
Kevin Chyn
2019-06-21 23:51:18 +00:00
committed by Android (Google) Code Review

View File

@@ -267,6 +267,7 @@ public abstract class BiometricDialogView extends LinearLayout {
mContext.getTheme());
image.setColorFilter(mDevicePolicyManager.getOrganizationColorForUser(mUserId),
PorterDuff.Mode.DARKEN);
backgroundView.setScaleType(ImageView.ScaleType.CENTER_CROP);
backgroundView.setImageDrawable(image);
} else {
backgroundView.setImageDrawable(null);