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

Commit 2c130a95 authored by TreeHugger Robot's avatar TreeHugger Robot Committed by Android (Google) Code Review
Browse files

Merge "Adding comment explaining "else" branch in onStateChange" into tm-qpr-dev

parents 2143046c 258da9df
Loading
Loading
Loading
Loading
+5 −0
Original line number Diff line number Diff line
@@ -4678,6 +4678,11 @@ public final class NotificationPanelViewController extends PanelViewController {
                    }
                }
            } else {
                // this else branch means we are doing one of:
                //  - from KEYGUARD and SHADE (but not expanded shade)
                //  - from SHADE to KEYGUARD
                //  - from SHADE_LOCKED to SHADE
                //  - getting notified again about the current SHADE or KEYGUARD state
                final boolean animatingUnlockedShadeToKeyguard = oldState == SHADE
                        && statusBarState == KEYGUARD
                        && mScreenOffAnimationController.isKeyguardShowDelayed();