Loading packages/SystemUI/src/com/android/systemui/biometrics/AuthContainerView.java +5 −1 Original line number Diff line number Diff line Loading @@ -44,6 +44,7 @@ import android.os.Looper; import android.os.UserManager; import android.util.Log; import android.view.Display; import android.view.DisplayInfo; import android.view.Gravity; import android.view.KeyEvent; import android.view.LayoutInflater; Loading Loading @@ -653,11 +654,14 @@ public class AuthContainerView extends LinearLayout if (display == null) { return false; } final DisplayInfo cachedDisplayInfo = new DisplayInfo(); display.getDisplayInfo(cachedDisplayInfo); if (mBiometricView == null || !shouldUpdatePositionForUdfps(mBiometricView.asView())) { return false; } final int displayRotation = display.getRotation(); final int displayRotation = cachedDisplayInfo.rotation; switch (displayRotation) { case Surface.ROTATION_0: mPanelController.setPosition(AuthPanelController.POSITION_BOTTOM); Loading Loading
packages/SystemUI/src/com/android/systemui/biometrics/AuthContainerView.java +5 −1 Original line number Diff line number Diff line Loading @@ -44,6 +44,7 @@ import android.os.Looper; import android.os.UserManager; import android.util.Log; import android.view.Display; import android.view.DisplayInfo; import android.view.Gravity; import android.view.KeyEvent; import android.view.LayoutInflater; Loading Loading @@ -653,11 +654,14 @@ public class AuthContainerView extends LinearLayout if (display == null) { return false; } final DisplayInfo cachedDisplayInfo = new DisplayInfo(); display.getDisplayInfo(cachedDisplayInfo); if (mBiometricView == null || !shouldUpdatePositionForUdfps(mBiometricView.asView())) { return false; } final int displayRotation = display.getRotation(); final int displayRotation = cachedDisplayInfo.rotation; switch (displayRotation) { case Surface.ROTATION_0: mPanelController.setPosition(AuthPanelController.POSITION_BOTTOM); Loading