From d408ee126537a666463686dcce8e34c90eb37b07 Mon Sep 17 00:00:00 2001 From: Justin Weir Date: Mon, 1 Apr 2024 16:09:17 -0400 Subject: Fix a class cast exception Fixes: 332353008 Test: manual Flag: ACONFIG com.android.systemui.scene_container DEVELOPMENT Change-Id: I67f2c17a5b036596d82be16c9a9738954ddac205 --- .../keyguard/domain/interactor/ToAodFoldTransitionInteractor.kt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/SystemUI/src/com/android/systemui/keyguard/domain/interactor/ToAodFoldTransitionInteractor.kt b/packages/SystemUI/src/com/android/systemui/keyguard/domain/interactor/ToAodFoldTransitionInteractor.kt index 3b25128fa878..6729246dcb7a 100644 --- a/packages/SystemUI/src/com/android/systemui/keyguard/domain/interactor/ToAodFoldTransitionInteractor.kt +++ b/packages/SystemUI/src/com/android/systemui/keyguard/domain/interactor/ToAodFoldTransitionInteractor.kt @@ -75,7 +75,7 @@ constructor( fun initialize(parentAnimator: ShadeFoldAnimator) { this.parentAnimator = - parentAnimator as NotificationPanelViewController.ShadeFoldAnimatorImpl? + parentAnimator as? NotificationPanelViewController.ShadeFoldAnimatorImpl? } /** Forces the keyguard into AOD or Doze */ -- cgit v1.2.3-59-g8ed1b