)]}'
{
  "commit": "917f02221653e456d83bf58cdfd7f86a54789909",
  "tree": "455402945e386774736385e40c7bcc82c0d55346",
  "parents": [
    "838ba32966e4e9146a814666a3fedda78f958a34"
  ],
  "author": {
    "name": "Patrick Baumann",
    "email": "patb@google.com",
    "time": "Fri Jul 28 22:48:08 2023 +0000"
  },
  "committer": {
    "name": "Ivan Chiang",
    "email": "chiangi@google.com",
    "time": "Thu Aug 17 05:54:54 2023 +0000"
  },
  "message": "Fixes update ownership preapproval flow\n\nThis change sets the package name when computing commit preapproval\nreason. Previously, with the package name unavailable that path would\nnot be able to look up the existing package and so wouldn\u0027t know the\nowner. Additionally, if the installer required user action, the wrong\ndialog would have been displayed when the update ownership dialog should\nhave been. This fixes both issues.\n\nAdd new change id to check whether the build includes the fix or not.\nIf the change is disabled, it means the build includes the fix. If\nthe build doesn\u0027t include the change id, when the caller checks the\nchange, it is enabled.\n\nBug: 293644536\nTest: atest PreapprovalInstallTest UpdateOwnershipEnforcementTest\nChange-Id: I210fe1bb13a2096eb7e087806298ed1d4fa4905d\nMerged-In: I210fe1bb13a2096eb7e087806298ed1d4fa4905d\n",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "f0e38955f05004989ddf2908a1531e9b2264a1cb",
      "old_mode": 33188,
      "old_path": "services/core/java/com/android/server/pm/PackageInstallerSession.java",
      "new_id": "d662aaedb7749a5582b19f468b23b9e8451c789e",
      "new_mode": 33188,
      "new_path": "services/core/java/com/android/server/pm/PackageInstallerSession.java"
    }
  ]
}
