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

Commit 1c824962 authored by Adrian Roos's avatar Adrian Roos Committed by android-build-merger
Browse files

Merge "A11y: Prefer EXTRA_TITLE to ticker for status bar icon content...

Merge "A11y: Prefer EXTRA_TITLE to ticker for status bar icon content description" into oc-dev am: f667aebe
am: da11e939

Change-Id: Iee452be47d744cc1057e158d59a3e6e0e66e831a
parents 9933bee4 da11e939
Loading
Loading
Loading
Loading
+2 −2
Original line number Original line Diff line number Diff line
@@ -455,8 +455,8 @@ public class StatusBarIconView extends AnimatedImageView {
        CharSequence title = n.extras.getCharSequence(Notification.EXTRA_TITLE);
        CharSequence title = n.extras.getCharSequence(Notification.EXTRA_TITLE);
        CharSequence ticker = n.tickerText;
        CharSequence ticker = n.tickerText;


        CharSequence desc = !TextUtils.isEmpty(ticker) ? ticker
        CharSequence desc = !TextUtils.isEmpty(title) ? title
                : !TextUtils.isEmpty(title) ? title : "";
                : !TextUtils.isEmpty(ticker) ? ticker : "";


        return c.getString(R.string.accessibility_desc_notification_icon, appName, desc);
        return c.getString(R.string.accessibility_desc_notification_icon, appName, desc);
    }
    }