Temporarily disable active task trimming.
Bug: 68045330 Bug: 34270611 Test: runtest --path frameworks/base/services/tests/servicestests/src/com/android/server/am/RecentTasksTest.java Change-Id: I8c70d4f97867aca158de158d32be4b5fda1b3479
This commit is contained in:
@@ -3002,12 +3002,7 @@ public class ActivityStackSupervisor extends ConfigurationContainer implements D
|
||||
|
||||
@Override
|
||||
public void onRecentTaskRemoved(TaskRecord task, boolean wasTrimmed) {
|
||||
if (wasTrimmed) {
|
||||
// Task was trimmed from the recent tasks list -- remove the active task record as well
|
||||
// since the user won't really be able to go back to it
|
||||
removeTaskByIdLocked(task.taskId, false /* killProcess */,
|
||||
false /* removeFromRecents */);
|
||||
}
|
||||
// TODO: Trim active task once b/68045330 is fixed
|
||||
task.removedFromRecents();
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user