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

Commit 78f444bd authored by Liran Binyamin's avatar Liran Binyamin
Browse files

Adds content description to the overflow bubble.

Flag: LEGACY persist.wm.debug.bubble_bar DISABLED
Bug: 273994695
Test: SystemUIMicrobenchmark:android.platform.test.scenario.sysui.bubble.BubbleBarTest

Change-Id: Ie3fe451c69a39560aa91a6dfd4d615f172cf3299
parent 3a412d04
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -163,6 +163,7 @@ public class BubbleView extends ConstraintLayout {
        mBubble = overflow;
        mBubbleIcon.setImageBitmap(bitmap);
        mAppIcon.setVisibility(GONE); // Overflow doesn't show the app badge
        setContentDescription(getResources().getString(R.string.bubble_bar_overflow_description));
    }

    /** Returns the bubble being rendered in this view. */
+4 −0
Original line number Diff line number Diff line
@@ -456,4 +456,8 @@

    <!-- Private space label -->
    <string name="private_space_label">Private space</string>

    <!-- Strings for bubble bar -->
    <!-- content description for the overflow bubble [CHAR_LIMIT=none] -->
    <string name="bubble_bar_overflow_description">Overflow</string>
</resources>