summaryrefslogtreecommitdiff
path: root/packages/SystemUI/src/com/android/keyguard/KeyguardClockSwitchController.java
diff options
context:
space:
mode:
authorMatt Pietal <mpietal@google.com>2021-06-01 10:48:52 -0400
committerMatt Pietal <mpietal@google.com>2021-06-01 10:48:52 -0400
commita2c5ff9b42b13987c97e865736f0a3732f7525a4 (patch)
tree2769d0246f7a4f52074f161f5bbdc20d0e5f8cc4 /packages/SystemUI/src/com/android/keyguard/KeyguardClockSwitchController.java
parent1dfd948440af4fa2e859b698cb0fa1770c89d4ee (diff)
AOD/LS Clock fixes
Smartspace shared element transitions are interferring with normal clock operation. Remove the offending lines until a proper fix can be put in Fixes: 189534613 Test: manual Change-Id: Ib4678c1405dff722e57048885d8c3c5fb878c954
Diffstat (limited to 'packages/SystemUI/src/com/android/keyguard/KeyguardClockSwitchController.java')
-rw-r--r--packages/SystemUI/src/com/android/keyguard/KeyguardClockSwitchController.java4
1 files changed, 0 insertions, 4 deletions
diff --git a/packages/SystemUI/src/com/android/keyguard/KeyguardClockSwitchController.java b/packages/SystemUI/src/com/android/keyguard/KeyguardClockSwitchController.java
index 3e084b7d692a..fbea1e9a594d 100644
--- a/packages/SystemUI/src/com/android/keyguard/KeyguardClockSwitchController.java
+++ b/packages/SystemUI/src/com/android/keyguard/KeyguardClockSwitchController.java
@@ -305,10 +305,6 @@ public class KeyguardClockSwitchController extends ViewController<KeyguardClockS
// know that it should re-position our SmartSpace.
if (mKeyguardUnlockAnimationController.isUnlockingWithSmartSpaceTransition()) {
mKeyguardUnlockAnimationController.updateLockscreenSmartSpacePosition();
- } else {
- // Otherwise, reset Y translation in case it's still offset from a previous shared
- // element transition.
- ((View) mSmartspaceView).setTranslationY(0f);
}
}