)]}'
{
  "commit": "e91fb356ef871317583b8dad84d0ee0eedbf9978",
  "tree": "db90338f22683b9ea1d714d84dcc56112fc971d1",
  "parents": [
    "8f222ae4cd2b94d0c31a524aaf656391b24068db"
  ],
  "author": {
    "name": "Daniel Santiago Rivera",
    "email": "danysantiago@google.com",
    "time": "Thu Dec 15 13:17:38 2022 -0500"
  },
  "committer": {
    "name": "Android Build Coastguard Worker",
    "email": "android-build-coastguard-worker@google.com",
    "time": "Tue Mar 14 16:28:08 2023 +0000"
  },
  "message": "Use an isOpenInternal check when checking if DB is open.\n\nFor compatibility reasons the public API isOpen will return true when auto-close is enabled and the DB is closed, but sometimes we need to check if the actual connection is open or not to do a thread jump or avoid a potential disk IO call, such as the one done in CoroutineRoom. To solve this, this change adds an isOpenInternal that is restricted and checks if the actual connection is open or not.\n\nBug: 262255165\nTest: SuspendingQueryTest.allBookSuspend_autoClose\nChange-Id: I5f39308a80eab2242be7764dd3854ebfd774c195\n(cherry picked from commit on android-review.googlesource.com host: 1988e1edfa5b73a875ac7a8eb97dde3b0fd3e610)\nMerged-In: I5f39308a80eab2242be7764dd3854ebfd774c195\n",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "29a48db474d3641d7577f5bc464a61cd2f0f85ca",
      "old_mode": 33188,
      "old_path": "room/integration-tests/kotlintestapp/src/androidTest/java/androidx/room/integration/kotlintestapp/test/SuspendingQueryTest.kt",
      "new_id": "cdf7726bffe8692879cf6163d2040e59016fe7f8",
      "new_mode": 33188,
      "new_path": "room/integration-tests/kotlintestapp/src/androidTest/java/androidx/room/integration/kotlintestapp/test/SuspendingQueryTest.kt"
    },
    {
      "type": "modify",
      "old_id": "8d0b2a8527e83b829935cc84d0474a4aa518ff9d",
      "old_mode": 33188,
      "old_path": "room/room-ktx/src/main/java/androidx/room/CoroutinesRoom.kt",
      "new_id": "22fc22de3da2fd4b9baa68a2f55f449f5ee30844",
      "new_mode": 33188,
      "new_path": "room/room-ktx/src/main/java/androidx/room/CoroutinesRoom.kt"
    },
    {
      "type": "modify",
      "old_id": "251b82a19439194d990975b1ad3c7496278d9e3d",
      "old_mode": 33188,
      "old_path": "room/room-runtime/src/main/java/androidx/room/InvalidationTracker.kt",
      "new_id": "20882424e4fc3f791564dd6918280b55bc3441bd",
      "new_mode": 33188,
      "new_path": "room/room-runtime/src/main/java/androidx/room/InvalidationTracker.kt"
    },
    {
      "type": "modify",
      "old_id": "599d9d3e36c9bce0f6533b7a0966ad0a3dccc452",
      "old_mode": 33188,
      "old_path": "room/room-runtime/src/main/java/androidx/room/RoomDatabase.kt",
      "new_id": "a455992aa007b8d4c2336a7794b8cb0121c8ff3a",
      "new_mode": 33188,
      "new_path": "room/room-runtime/src/main/java/androidx/room/RoomDatabase.kt"
    },
    {
      "type": "modify",
      "old_id": "20f62f149f8f541d630455b584e3533ef2388511",
      "old_mode": 33188,
      "old_path": "room/room-runtime/src/test/java/androidx/room/InvalidationTrackerTest.kt",
      "new_id": "20e2bc74276eae07d5ceb498cfe7ba60cf0590d0",
      "new_mode": 33188,
      "new_path": "room/room-runtime/src/test/java/androidx/room/InvalidationTrackerTest.kt"
    }
  ]
}
