)]}'
{
  "commit": "b436ce9cea86f8e4c0e2ad034ce9f4ef46d31cf8",
  "tree": "e4b82f57e99d8ab975fd07236724fb27b451efbf",
  "parents": [
    "2543fbd8a2a42bbf48d329c63d5d936ba17a0486"
  ],
  "author": {
    "name": "Madiyar Aitbayev",
    "email": "madiyar@google.com",
    "time": "Mon Mar 19 16:51:48 2018 +0000"
  },
  "committer": {
    "name": "Madiyar Aitbayev",
    "email": "madiyar@google.com",
    "time": "Tue Mar 20 16:19:32 2018 +0000"
  },
  "message": "Close file descriptors of ProfilerInfo\n\nWhen using \"am start --start-profiler\" command, am doesn\u0027t close\ninstances of related ParcelFileDescriptor of the profiler file path,\nbut relies on garbage collection, so at the system level the file\nkept open for longer than it is needed. In a result, some processes\nthat monitors the file close event using unix inotify_add_watch\nmethod would wait 20~30 Seconds.\n\nThis change closes file descriptors after passing it to ActivityThread\nprocess, which is similar to what \"am profile start\" does.\n\nBug: b/73891014\nTest: tested manually by flashing into Pixel XL device.\nMerged-In: I5b63b96335fdaf86f0cd0caec2c53c32c0e41d72\nChange-Id: I5b63b96335fdaf86f0cd0caec2c53c32c0e41d72\n",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "4d839d20c49ac3fa105b4b12989e69520ac7fde6",
      "old_mode": 33188,
      "old_path": "services/core/java/com/android/server/am/ActivityManagerService.java",
      "new_id": "8731cdad69c5840b2fdfca8f60c237d0c82045f2",
      "new_mode": 33188,
      "new_path": "services/core/java/com/android/server/am/ActivityManagerService.java"
    }
  ]
}
