diff options
-rw-r--r-- | packages/SystemUI/src/com/android/systemui/keyguard/ui/viewmodel/KeyguardPreviewSmartspaceViewModel.kt | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/packages/SystemUI/src/com/android/systemui/keyguard/ui/viewmodel/KeyguardPreviewSmartspaceViewModel.kt b/packages/SystemUI/src/com/android/systemui/keyguard/ui/viewmodel/KeyguardPreviewSmartspaceViewModel.kt index 0a8488624b85..6579ea162ee2 100644 --- a/packages/SystemUI/src/com/android/systemui/keyguard/ui/viewmodel/KeyguardPreviewSmartspaceViewModel.kt +++ b/packages/SystemUI/src/com/android/systemui/keyguard/ui/viewmodel/KeyguardPreviewSmartspaceViewModel.kt @@ -17,6 +17,7 @@ package com.android.systemui.keyguard.ui.viewmodel import android.content.Context +import com.android.internal.policy.SystemBarUtils import com.android.systemui.keyguard.domain.interactor.KeyguardClockInteractor import com.android.systemui.keyguard.shared.model.ClockSizeSetting import com.android.systemui.res.R @@ -81,7 +82,7 @@ constructor( getDimensionPixelSize(R.dimen.keyguard_split_shade_top_margin) } else { getDimensionPixelSize(R.dimen.keyguard_clock_top_margin) + - getDimensionPixelSize(R.dimen.status_bar_header_height_keyguard) + + SystemBarUtils.getStatusBarHeight(context) + getDimensionPixelSize(R.dimen.keyguard_smartspace_top_offset) } } |