)]}'
{
  "commit": "4428e22d67e626eaa575098f334d71a60debdf3b",
  "tree": "b8deba68c71b70ad456fda2b1a4764009649209d",
  "parents": [
    "a656a4e4e4c4bdc807b4bbe6688fe2d4a1530620"
  ],
  "author": {
    "name": "Ruslan Tkhakokhov",
    "email": "rthakohov@google.com",
    "time": "Wed Aug 18 07:22:40 2021 +0100"
  },
  "committer": {
    "name": "Ruslan Tkhakokhov",
    "email": "rthakohov@google.com",
    "time": "Thu Nov 25 22:24:06 2021 +0000"
  },
  "message": "Dispose of TransportClient in BMS#beginRestoreSession\n\nCurrently we create a new transport client in\nUserBackupManagerService#beginRestoreSession but don\u0027t dispose of it\nproperly which leaves us bound to the transport service. The client can\neventually be garbage collected triggering the finalize() method which\nwill unbind the transport but there\u0027re no guarantees as to whne it will\nhappen.\n\nExplicitly dispose of the transport client like it\u0027s done in other\nplaces in the code.\n\nBug: 196377372\nTest: 1. Manual:\n           1.1. Run restore for any package via \u0027adb shell bmgr\u0027\n\t   1.2. Check logcat for TransportClientManager to make sure the\n\t   transport client created in beginRestoreSession() has been\n\t   cleaned up.\nChange-Id: I9304768330ab796fccf67b544766d87461d977d7\n",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "9ee0159e903a10420a00ec1370d89cf58419b86e",
      "old_mode": 33188,
      "old_path": "services/backup/java/com/android/server/backup/UserBackupManagerService.java",
      "new_id": "0b95fefec10380ee1b406de24cabdc1d0be59660",
      "new_mode": 33188,
      "new_path": "services/backup/java/com/android/server/backup/UserBackupManagerService.java"
    }
  ]
}
