diff --git a/packages/SystemUI/animation/src/com/android/systemui/animation/ActivityLaunchAnimator.kt b/packages/SystemUI/animation/src/com/android/systemui/animation/ActivityLaunchAnimator.kt index 8f70dcc022898..c729b09628af0 100644 --- a/packages/SystemUI/animation/src/com/android/systemui/animation/ActivityLaunchAnimator.kt +++ b/packages/SystemUI/animation/src/com/android/systemui/animation/ActivityLaunchAnimator.kt @@ -301,10 +301,13 @@ class ActivityLaunchAnimator( interface Callback { /** Whether we are currently on the keyguard or not. */ - fun isOnKeyguard(): Boolean + @JvmDefault fun isOnKeyguard(): Boolean = false /** Hide the keyguard and animate using [runner]. */ - fun hideKeyguardWithAnimation(runner: IRemoteAnimationRunner) + @JvmDefault + fun hideKeyguardWithAnimation(runner: IRemoteAnimationRunner) { + throw UnsupportedOperationException() + } /* Get the background color of [task]. */ fun getBackgroundColor(task: TaskInfo): Int