Merge "Smartspace location fix" into sc-dev am: de56089eed
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/14805272 Change-Id: I769fd9c9b64d5d46ef043d535e748eb18f391d10
This commit is contained in:
@@ -192,7 +192,7 @@ public class KeyguardClockSwitch extends RelativeLayout {
|
||||
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;
|
||||
|
||||
Reference in New Issue
Block a user