diff options
author | Matt Pietal <mpietal@google.com> | 2021-06-11 17:04:40 -0400 |
---|---|---|
committer | Matt Pietal <mpietal@google.com> | 2021-06-11 17:07:54 -0400 |
commit | 507fe6f104f7dc094cfebbd63eddf2b6f915983f (patch) | |
tree | f9b629c578b9ef86b42c9d939f964cebf4f1117b /packages/SystemUI/src/com/android/keyguard/KeyguardClockSwitchController.java | |
parent | 77ea3710bbd94bfceb385f75d970726cd32856cc (diff) |
KeyguardClockPositionAlgorithm Test updates
Remove the concept of a 'preferred clock y'... not in use
anymore. Existing algo tests were designed around everything being
centered on the screen and isn't relevant. Update to reflect
everything being top-aligned.
Fixes: 190849712
Test: atest KeyguardClockPositionAlgorithmTest
Change-Id: I0a5fafb5ec36ffe6f98fdc6a44e46a65c821cc0c
Diffstat (limited to 'packages/SystemUI/src/com/android/keyguard/KeyguardClockSwitchController.java')
-rw-r--r-- | packages/SystemUI/src/com/android/keyguard/KeyguardClockSwitchController.java | 10 |
1 files changed, 0 insertions, 10 deletions
diff --git a/packages/SystemUI/src/com/android/keyguard/KeyguardClockSwitchController.java b/packages/SystemUI/src/com/android/keyguard/KeyguardClockSwitchController.java index a7239cabcae5..ef6212d4f354 100644 --- a/packages/SystemUI/src/com/android/keyguard/KeyguardClockSwitchController.java +++ b/packages/SystemUI/src/com/android/keyguard/KeyguardClockSwitchController.java @@ -257,16 +257,6 @@ public class KeyguardClockSwitchController extends ViewController<KeyguardClockS } /** - * Returns the preferred Y position of the clock. - * - * @param totalHeight The height available to position the clock. - * @return Y position of clock. - */ - public int getClockPreferredY(int totalHeight) { - return mView.getPreferredY(totalHeight); - } - - /** * Refresh clock. Called in response to TIME_TICK broadcasts. */ void refresh() { |