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

Commit 4f45b24a authored by Jagrut Desai's avatar Jagrut Desai Committed by Automerger Merge Worker
Browse files

Merge "Make taskbar accessibility announcement when user is in app only." into...

Merge "Make taskbar accessibility announcement when user is in app only." into tm-qpr-dev am: 6fcdfb16 am: 857c24a3

Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/22244591



Change-Id: Id5f8e3634a7560a2b0a453421d6b592515381567
Signed-off-by: default avatarAutomerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
parents 59b6888c 857c24a3
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();
                }
            }
        });
    }