Merge "Don't show lottie if font is too big." into main
This commit is contained in:
committed by
Android (Google) Code Review
commit
ffe8ee8048
@@ -203,6 +203,10 @@ public class FingerprintEnrollEnrolling extends BiometricsEnrollEnrolling {
|
||||
final int currentDensity = displayDensity.getDefaultDisplayDensityValues()
|
||||
[currentDensityIndex];
|
||||
final int defaultDensity = displayDensity.getDefaultDensityForDefaultDisplay();
|
||||
|
||||
if (getResources().getConfiguration().fontScale > 1) {
|
||||
return false;
|
||||
}
|
||||
return defaultDensity == currentDensity;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user