Loading src/com/android/settings/biometrics2/ui/widget/UdfpsEnrollView.java +4 −0 Original line number Diff line number Diff line Loading @@ -226,6 +226,10 @@ public class UdfpsEnrollView extends FrameLayout { } DisplayInfo displayInfo = new DisplayInfo(); if (getDisplay() == null) { android.util.Log.e(TAG, "Can not get display"); return; } getDisplay().getDisplayInfo(displayInfo); Rect udfpsBounds = mSensorProperties.getLocation().getRect(); float scaleFactor = mUdfpsUtils.getScaleFactor(displayInfo); Loading Loading
src/com/android/settings/biometrics2/ui/widget/UdfpsEnrollView.java +4 −0 Original line number Diff line number Diff line Loading @@ -226,6 +226,10 @@ public class UdfpsEnrollView extends FrameLayout { } DisplayInfo displayInfo = new DisplayInfo(); if (getDisplay() == null) { android.util.Log.e(TAG, "Can not get display"); return; } getDisplay().getDisplayInfo(displayInfo); Rect udfpsBounds = mSensorProperties.getLocation().getRect(); float scaleFactor = mUdfpsUtils.getScaleFactor(displayInfo); Loading