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

Commit 42660d39 authored by Michael Mikhail's avatar Michael Mikhail Committed by Automerger Merge Worker
Browse files

Merge "[a11y] update recommendation content discription for new layout" into...

Merge "[a11y] update recommendation content discription for new layout" into tm-qpr-dev am: a8825e86 am: 02249fa7

Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/21158910



Change-Id: Ib9940a6e47bf659f06ca4672c45a77a09e10dadb
Signed-off-by: default avatarAutomerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
parents 71a9747d 02249fa7
Loading
Loading
Loading
Loading
+4 −2
Original line number Diff line number Diff line
@@ -47,7 +47,8 @@
        android:singleLine="true"
        android:textSize="12sp"
        android:gravity="top"
        android:layout_gravity="bottom"/>
        android:layout_gravity="bottom"
        android:importantForAccessibility="no"/>

    <!-- Album name -->
    <TextView
@@ -61,7 +62,8 @@
        android:singleLine="true"
        android:textSize="11sp"
        android:gravity="center_vertical"
        android:layout_gravity="bottom"/>
        android:layout_gravity="bottom"
        android:importantForAccessibility="no"/>

    <!-- Seek Bar -->
    <SeekBar
+8 −3
Original line number Diff line number Diff line
@@ -737,9 +737,14 @@ public class MediaControlPanel {
            contentDescription =
                    mRecommendationViewHolder.getGutsViewHolder().getGutsText().getText();
        } else if (data != null) {
            if (mFeatureFlags.isEnabled(Flags.MEDIA_RECOMMENDATION_CARD_UPDATE)) {
                contentDescription = mContext.getString(
                        R.string.controls_media_smartspace_rec_header);
            } else {
                contentDescription = mContext.getString(
                        R.string.controls_media_smartspace_rec_description,
                        data.getAppName(mContext));
            }
        } else {
            contentDescription = null;
        }