Merge "Mutate UDFPS FingerprintDrawable" into sc-dev

This commit is contained in:
Kevin Chyn
2021-03-03 01:51:01 +00:00
committed by Android (Google) Code Review

View File

@@ -40,6 +40,7 @@ public abstract class UdfpsAnimation extends Drawable {
public UdfpsAnimation(@NonNull Context context) {
mContext = context;
mFingerprintDrawable = context.getResources().getDrawable(R.drawable.ic_fingerprint, null);
mFingerprintDrawable.mutate();
}
public void onSensorRectUpdated(@NonNull RectF sensorRect) {