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

am: 9e935820b5

* commit '9e935820b5d0134d71fc5ae51001b276ab603c51':
  Reducing the number of recent tasks we keep.

Change-Id: I8f1eab7444272080f151521d5ceab2c185fb828c
This commit is contained in:
Winson
2016-05-10 21:36:53 +00:00
committed by android-build-merger

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;
}