)]}'
{
  "commit": "786afcb3eec18315ec54987a08814ff28f13d09f",
  "tree": "17a0b148ab9591401c091414d78d6bfd1fdfd14a",
  "parents": [
    "b7af00f2b14e9f8333e3518aa81a15502858ea11"
  ],
  "author": {
    "name": "Jorim Jaggi",
    "email": "jjaggi@google.com",
    "time": "Thu Sep 25 02:41:29 2014 +0200"
  },
  "committer": {
    "name": "Jorim Jaggi",
    "email": "jjaggi@google.com",
    "time": "Wed Oct 08 18:30:54 2014 +0000"
  },
  "message": "Trim graphics memory when closing the shade\n\nGraphics memory usually gets trimmed in applications when the\nactivity goes into the background. We use quite a lot of graphics\nmemory when the shade/lockscreen is open, and some of them never gets\nfreed unless the recents activity is closed, because we don\u0027t have\nthese activity-trimming-heuristics for the shade. This change\nproactively trims the graphics memory when the shade gets closed or\nwhen the lockscreen is hidden, to emulate the same heuristics as for\nactivities.\n\nThis change also adds trimMemory on RenderThread to systrace to\nverify that no jank is introduced with this change.\n\nThis change immediately saves around 10-30 MB on an xxhdpi device\nafter the shade is closed.\n\nBug: 17581375\nChange-Id: I4fb622efb51815fe08187be97ba15d012d4de5d4\n",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "b50a433785993e71021ec60f83b415ac265fd4a4",
      "old_mode": 33188,
      "old_path": "libs/hwui/renderthread/CanvasContext.cpp",
      "new_id": "3bb47786b2231443be099dc3611a84e72a42283c",
      "new_mode": 33188,
      "new_path": "libs/hwui/renderthread/CanvasContext.cpp"
    },
    {
      "type": "modify",
      "old_id": "3b05ef1cbbd54a46622a711cf3aac8c999310ba4",
      "old_mode": 33188,
      "old_path": "packages/SystemUI/src/com/android/systemui/statusbar/phone/PhoneStatusBar.java",
      "new_id": "7936a4b2bc6d54543f07d7a8f8c4c00d248d7e18",
      "new_mode": 33188,
      "new_path": "packages/SystemUI/src/com/android/systemui/statusbar/phone/PhoneStatusBar.java"
    },
    {
      "type": "modify",
      "old_id": "55c861a66ace54e1391df052434d965a9d8c1e4a",
      "old_mode": 33188,
      "old_path": "packages/SystemUI/src/com/android/systemui/statusbar/phone/StatusBarKeyguardViewManager.java",
      "new_id": "65d231e8943765ef4c1a42429c99b9e2329e089d",
      "new_mode": 33188,
      "new_path": "packages/SystemUI/src/com/android/systemui/statusbar/phone/StatusBarKeyguardViewManager.java"
    }
  ]
}
