diff options
| -rw-r--r-- | packages/SystemUI/src/com/android/systemui/keyguard/ui/preview/KeyguardPreviewRenderer.kt | 8 |
1 files changed, 1 insertions, 7 deletions
diff --git a/packages/SystemUI/src/com/android/systemui/keyguard/ui/preview/KeyguardPreviewRenderer.kt b/packages/SystemUI/src/com/android/systemui/keyguard/ui/preview/KeyguardPreviewRenderer.kt index 8945318b9853..85a2fd5a6d01 100644 --- a/packages/SystemUI/src/com/android/systemui/keyguard/ui/preview/KeyguardPreviewRenderer.kt +++ b/packages/SystemUI/src/com/android/systemui/keyguard/ui/preview/KeyguardPreviewRenderer.kt @@ -264,14 +264,8 @@ constructor( KeyguardPreviewSmartspaceViewModel.getLargeClockSmartspaceTopPadding( context.resources, ) - val startPadding: Int = - with(context.resources) { - getDimensionPixelSize( - com.android.systemui.customization.R.dimen.clock_padding_start - ) + getDimensionPixelSize(R.dimen.below_clock_padding_start) - } - + context.resources.getDimensionPixelSize(R.dimen.below_clock_padding_start) val endPadding: Int = context.resources.getDimensionPixelSize(R.dimen.below_clock_padding_end) |