summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
author Justin Weir <justinweir@google.com> 2024-04-01 16:09:17 -0400
committer Justin Weir <justinweir@google.com> 2024-04-01 16:18:46 -0400
commitd408ee126537a666463686dcce8e34c90eb37b07 (patch)
treef695fcde06e2750408eaada7dcea06c829aa4b90
parentf9347af4917d15aaa6b6e2a20b004b4e14d180aa (diff)
Fix a class cast exception
Fixes: 332353008 Test: manual Flag: ACONFIG com.android.systemui.scene_container DEVELOPMENT Change-Id: I67f2c17a5b036596d82be16c9a9738954ddac205
-rw-r--r--packages/SystemUI/src/com/android/systemui/keyguard/domain/interactor/ToAodFoldTransitionInteractor.kt2
1 files changed, 1 insertions, 1 deletions
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 */