Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit e356c06b authored by Shawn Lin's avatar Shawn Lin Committed by Android (Google) Code Review
Browse files

Merge "Fixed attaching nav to app not working for notification case" into sc-dev

parents 801ff1c4 728f5d71
Loading
Loading
Loading
Loading
+4 −2
Original line number Diff line number Diff line
@@ -313,12 +313,14 @@ class ActivityLaunchAnimator(context: Context) {
            }

            context.mainExecutor.execute {
                startAnimation(remoteAnimationTargets, iRemoteAnimationFinishedCallback)
                startAnimation(remoteAnimationTargets, remoteAnimationNonAppTargets,
                        iRemoteAnimationFinishedCallback)
            }
        }

        private fun startAnimation(
            remoteAnimationTargets: Array<out RemoteAnimationTarget>,
            remoteAnimationNonAppTargets: Array<out RemoteAnimationTarget>,
            iCallback: IRemoteAnimationFinishedCallback
        ) {
            val window = remoteAnimationTargets.firstOrNull {
@@ -332,7 +334,7 @@ class ActivityLaunchAnimator(context: Context) {
                return
            }

            val navigationBar = remoteAnimationTargets.firstOrNull {
            val navigationBar = remoteAnimationNonAppTargets.firstOrNull {
                it.windowType == WindowManager.LayoutParams.TYPE_NAVIGATION_BAR
            }