diff --git a/packages/SystemUI/src/com/android/keyguard/KeyguardClockSwitch.java b/packages/SystemUI/src/com/android/keyguard/KeyguardClockSwitch.java index 1c4cde8150d6..619bf1bb6ded 100644 --- a/packages/SystemUI/src/com/android/keyguard/KeyguardClockSwitch.java +++ b/packages/SystemUI/src/com/android/keyguard/KeyguardClockSwitch.java @@ -192,7 +192,7 @@ private void animateClockChange(boolean useLargeClock) { if (indexOfChild(in) == -1) addView(in); direction = -1; smartspaceYTranslation = mSmartspaceView == null ? 0 - : mClockFrame.getY() - mSmartspaceView.getY(); + : mClockFrame.getTop() - mSmartspaceView.getTop(); } else { in = mClockFrame; out = mLargeClockFrame;