From 9ddf1689b7a172df9c360ea3858e0cb704cd0bd7 Mon Sep 17 00:00:00 2001 From: Alejandro Nijamkin Date: Thu, 4 Aug 2022 11:38:57 -0700 Subject: [PATCH] Adds start/end button unfold transitions. These were missed. They became visible once I authored the CL to delete all the dead code and enable the flag. For completeness, here's the change. Bug: 235403546 Test: not tested Change-Id: I4072e8c9d0a518e08747beb61399d12781c53c16 --- .../src/com/android/keyguard/KeyguardUnfoldTransition.kt | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/packages/SystemUI/src/com/android/keyguard/KeyguardUnfoldTransition.kt b/packages/SystemUI/src/com/android/keyguard/KeyguardUnfoldTransition.kt index 89d6fb5f062f0..acbea1beeae38 100644 --- a/packages/SystemUI/src/com/android/keyguard/KeyguardUnfoldTransition.kt +++ b/packages/SystemUI/src/com/android/keyguard/KeyguardUnfoldTransition.kt @@ -29,7 +29,7 @@ import javax.inject.Inject /** * Translates items away/towards the hinge when the device is opened/closed. This is controlled by - * the set of ids, which also dictact which direction to move and when, via a filter function. + * the set of ids, which also dictate which direction to move and when, via a filter function. */ @SysUIUnfoldScope class KeyguardUnfoldTransition @@ -55,7 +55,9 @@ constructor( ViewIdToTranslate(R.id.lockscreen_clock_view, LEFT, filterNever), ViewIdToTranslate( R.id.notification_stack_scroller, RIGHT, filterSplitShadeOnly), - ViewIdToTranslate(R.id.wallet_button, RIGHT, filterNever)), + ViewIdToTranslate(R.id.wallet_button, RIGHT, filterNever), + ViewIdToTranslate(R.id.start_button, LEFT, filterNever), + ViewIdToTranslate(R.id.end_button, RIGHT, filterNever)), progressProvider = unfoldProgressProvider) }