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

Commit 6fcdfb16 authored by Jagrut Desai's avatar Jagrut Desai Committed by Android (Google) Code Review
Browse files

Merge "Make taskbar accessibility announcement when user is in app only." into tm-qpr-dev

parents 9c830777 4661854d
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -26,6 +26,8 @@
        android:layout_width="match_parent"
        android:layout_height="wrap_content"
        android:gravity="center"
        android:focusable="true"
        android:importantForAccessibility="yes"
        android:forceHasOverlappingRendering="false"
        android:layout_gravity="bottom"
        android:layout_marginBottom="@dimen/transient_taskbar_bottom_margin"
+5 −1
Original line number Diff line number Diff line
@@ -600,8 +600,12 @@ public class TaskbarStashController implements TaskbarControllers.LoggableTaskba
                if (!mIsStashed) {
                    tryStartTaskbarTimeout();
                }

                // only announce if we are actually animating
                if (duration > 0 && isInApp()) {
                    mControllers.taskbarViewController.announceForAccessibility();
                }
            }
        });
    }