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

Commit 548c4d0e authored by samcackett's avatar samcackett Committed by Sam Cackett
Browse files

Use app short name in Overview IconAppChipView

Fixes: 313649435
Test: Build & Run
  Open an app with a longer name, like Google News or Youtube Music.
  Open "Overview". IconAppChipMenu should have a short name like "News"
  or "YT Music"
Flag: ACONFIG com.android.launcher3.enable_overview_icon_menu TEAMFOOD
Change-Id: Ieb449c5e574dd3c7b88a9cd3979175cbc91ef3eb
parent b617daa6
Loading
Loading
Loading
Loading
+1 −2
Original line number Diff line number Diff line
@@ -191,8 +191,7 @@ public class TaskIconCache implements DisplayInfoChangeListener {
            entry.contentDescription = getBadgedContentDescription(
                    activityInfo, task.key.userId, task.taskDescription);
            if (enableOverviewIconMenu()) {
                entry.title = Utilities.trim(
                        activityInfo.applicationInfo.loadLabel(mContext.getPackageManager()));
                entry.title = Utilities.trim(activityInfo.loadLabel(mContext.getPackageManager()));
            }
        }