Merge "Reducing the number of recent tasks we keep." into nyc-dev

This commit is contained in:
Winson Chung
2016-05-10 21:33:32 +00:00
committed by Android (Google) Code Review

View File

@@ -901,7 +901,7 @@ public class ActivityManager {
*/
static public int getMaxRecentTasksStatic() {
if (gMaxRecentTasks < 0) {
return gMaxRecentTasks = isLowRamDeviceStatic() ? 50 : 100;
return gMaxRecentTasks = isLowRamDeviceStatic() ? 36 : 48;
}
return gMaxRecentTasks;
}