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

Commit 85d63579 authored by Matt Pietal's avatar Matt Pietal
Browse files

Add logging when goingAway is ignored

Bug: 414750775
Test: Only logging added
Flag: EXEMPT logging
Change-Id: Iaeeacc31853c9c8c321ded33e8ce93dd16bed8e1
parent 57c0fc56
Loading
Loading
Loading
Loading
+5 −0
Original line number Diff line number Diff line
@@ -17,6 +17,7 @@
package com.android.systemui.keyguard.domain.interactor

import android.animation.ValueAnimator
import android.util.Log
import com.android.app.tracing.coroutines.launchTraced as launch
import com.android.systemui.Flags
import com.android.systemui.bouncer.domain.interactor.PrimaryBouncerInteractor
@@ -199,6 +200,10 @@ constructor(
                        Flags.hubEditModeTransition() && editModeState == EditModeState.STARTING ||
                            editModeState == EditModeState.SHOWING
                    ) {
                        Log.i(
                            TAG,
                            "Ignoring isKeyguardGoingAway due to editModeState: $editModeState",
                        )
                        // If transitioning to hub edit mode, do nothing here. The keyguard state
                        // change to GONE happens as a result of moving away from the communal
                        // scene, which is triggered by the edit mode activity.
+4 −0
Original line number Diff line number Diff line
@@ -267,6 +267,10 @@ constructor(
                        Flags.hubEditModeTransition() && editModeState == EditModeState.STARTING ||
                            editModeState == EditModeState.SHOWING
                    ) {
                        Log.i(
                            TAG,
                            "Ignoring isKeyguardGoingAway due to editModeState: $editModeState",
                        )
                        // If transitioning to hub edit mode, do nothing here. The keyguard state
                        // change to GONE happens as a result of moving away from the communal
                        // scene, which is triggered by the edit mode activity.