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

Commit 5d23bdf5 authored by Franciszek Juras's avatar Franciszek Juras Committed by Android (Google) Code Review
Browse files

Merge "[Flexiglass] Enable closing the shade with back button" into main

parents 708d7a5e 6af766ae
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -16,6 +16,7 @@

package com.android.systemui.shade.ui.viewmodel

import com.android.compose.animation.scene.Back
import com.android.compose.animation.scene.Swipe
import com.android.compose.animation.scene.UserAction
import com.android.compose.animation.scene.UserActionResult
@@ -63,6 +64,7 @@ constructor(
                                ToSplitShade.takeIf { shadeMode is ShadeMode.Split },
                            ),
                        )
                        set(Back, UserActionResult(backScene))
                    }

                    // TODO(b/330200163) Add an else to be able to collapse the shade while