We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents c3815a5 + d2e9956 commit 7af0c16Copy full SHA for 7af0c16
packages/SystemUI/src/com/android/systemui/recent/RecentTasksLoader.java
@@ -337,8 +337,7 @@ protected Void doInBackground(Void... params) {
337
mContext.getSystemService(Context.ACTIVITY_SERVICE);
338
339
final List<ActivityManager.RecentTaskInfo> recentTasks =
340
- am.getRecentTasksForUser(MAX_TASKS,
341
- ActivityManager.RECENT_IGNORE_UNAVAILABLE, UserHandle.USER_CURRENT);
+ am.getRecentTasks(MAX_TASKS, ActivityManager.RECENT_IGNORE_UNAVAILABLE);
342
int numTasks = recentTasks.size();
343
ActivityInfo homeInfo = new Intent(Intent.ACTION_MAIN)
344
.addCategory(Intent.CATEGORY_HOME).resolveActivityInfo(pm, 0);
0 commit comments