mirror of
https://github.com/LawnchairLauncher/lawnchair.git
synced 2026-02-27 23:36:47 +00:00
Add content description to bagded icons.
Enabled accesibility so that icons badged by the managed profile have a content description that is different to the non-bagdged version. Bug: 15106236 Change-Id: Id483273173d9539916eebd59111d179087526be3
This commit is contained in:
@@ -113,10 +113,12 @@ public class ShortcutInfo extends ItemInfo {
|
||||
}
|
||||
}
|
||||
|
||||
ShortcutInfo(Intent intent, CharSequence title, Bitmap icon, UserHandleCompat user) {
|
||||
ShortcutInfo(Intent intent, CharSequence title, String contentDescrition,
|
||||
Bitmap icon, UserHandleCompat user) {
|
||||
this();
|
||||
this.intent = intent;
|
||||
this.title = title;
|
||||
this.contentDescription = contentDescription;
|
||||
mIcon = icon;
|
||||
this.user = user;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user