Loading quickstep/src/com/android/quickstep/TaskIconCache.java +8 −12 Original line number Diff line number Diff line Loading @@ -15,7 +15,6 @@ */ package com.android.quickstep; import static com.android.launcher3.uioverrides.QuickstepLauncher.GO_LOW_RAM_RECENTS_ENABLED; import static com.android.launcher3.util.DisplayController.CHANGE_DENSITY; import android.annotation.Nullable; Loading Loading @@ -182,8 +181,6 @@ public class TaskIconCache implements DisplayInfoChangeListener { } } // Loading content descriptions if accessibility or low RAM recents is enabled. if (GO_LOW_RAM_RECENTS_ENABLED || mAccessibilityManager.isEnabled()) { // Skip loading the content description if the activity no longer exists if (activityInfo == null) { activityInfo = PackageManagerWrapper.getInstance().getActivityInfo( Loading @@ -193,7 +190,6 @@ public class TaskIconCache implements DisplayInfoChangeListener { entry.contentDescription = getBadgedContentDescription( activityInfo, task.key.userId, task.taskDescription); } } mIconCache.put(task.key, entry); return entry; Loading Loading
quickstep/src/com/android/quickstep/TaskIconCache.java +8 −12 Original line number Diff line number Diff line Loading @@ -15,7 +15,6 @@ */ package com.android.quickstep; import static com.android.launcher3.uioverrides.QuickstepLauncher.GO_LOW_RAM_RECENTS_ENABLED; import static com.android.launcher3.util.DisplayController.CHANGE_DENSITY; import android.annotation.Nullable; Loading Loading @@ -182,8 +181,6 @@ public class TaskIconCache implements DisplayInfoChangeListener { } } // Loading content descriptions if accessibility or low RAM recents is enabled. if (GO_LOW_RAM_RECENTS_ENABLED || mAccessibilityManager.isEnabled()) { // Skip loading the content description if the activity no longer exists if (activityInfo == null) { activityInfo = PackageManagerWrapper.getInstance().getActivityInfo( Loading @@ -193,7 +190,6 @@ public class TaskIconCache implements DisplayInfoChangeListener { entry.contentDescription = getBadgedContentDescription( activityInfo, task.key.userId, task.taskDescription); } } mIconCache.put(task.key, entry); return entry; Loading