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

Commit d7ab513e authored by Michael Mikhail's avatar Michael Mikhail Committed by Android (Google) Code Review
Browse files

Merge "Keep volume row visible if dialog is showing" into main

parents cafac050 cf2c0e33
Loading
Loading
Loading
Loading
+5 −0
Original line number Diff line number Diff line
@@ -1636,6 +1636,11 @@ public class VolumeDialogImpl implements VolumeDialog, Dumpable,
                        || activeRow.stream == STREAM_ACCESSIBILITY
                        || mDynamic.get(activeRow.stream);
            }

            // Continue to display row if it is visible to user.
            if (row.view != null && mShowing) {
                return row.view.getVisibility() == VISIBLE;
            }
        }

        return false;