)]}'
{
  "commit": "a4b48c54049c7de7872a2e35be598f961259d007",
  "tree": "ecb68400380c884cbce3b1625ba1f846ff886d6e",
  "parents": [
    "41ec57fce3082eca6302eb9f9c8c7ad637b3e0cb"
  ],
  "author": {
    "name": "Prabal Singh",
    "email": "prabalsingh@google.com",
    "time": "Fri May 01 02:59:09 2026 -0700"
  },
  "committer": {
    "name": "Android Build Coastguard Worker",
    "email": "android-build-coastguard-worker@google.com",
    "time": "Tue Jun 02 08:44:20 2026 -0700"
  },
  "message": "Refactor: Add permission checks to Unarchive activities\n\nIt adds permission checks for REQUEST_INSTALL_PACKAGES or INSTALL_PACKAGES to both UnarchiveActivity and UnarchiveErrorActivity at the start of their onCreate methods. The launch of the v2 UnarchiveLaunch activity is now gated by these permission checks.\n\nBug: 489225275\nFlag: android.content.pm.use_pia_v2\nTest: manually tested\nCherrypick-From: https://googleplex-android-review.googlesource.com/q/commit:c3f52bcbb62f8af7d3a2aefb617696579cbe68f2\nCherrypick-From: https://googleplex-android-review.googlesource.com/q/commit:8ffafe7532e3ce3c6c1c69e4ab781bdb94021645\nMerged-In: I8f1265acae162cd752e76259f4ffaf39ab76b7e5\nChange-Id: I8f1265acae162cd752e76259f4ffaf39ab76b7e5\n",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "bcc737a351a9ac8ebe21566eaee30c5b9f18a570",
      "old_mode": 33188,
      "old_path": "packages/PackageInstaller/src/com/android/packageinstaller/PackageUtil.java",
      "new_id": "27ef897677a390c53acbb3f3332d46a495b9f0a2",
      "new_mode": 33188,
      "new_path": "packages/PackageInstaller/src/com/android/packageinstaller/PackageUtil.java"
    },
    {
      "type": "modify",
      "old_id": "c99d37bb6ce6a7ff26c1269baa46e35d86661143",
      "old_mode": 33188,
      "old_path": "packages/PackageInstaller/src/com/android/packageinstaller/UnarchiveActivity.java",
      "new_id": "91347bb23ed5ccadf817f705bae49a3b9060433d",
      "new_mode": 33188,
      "new_path": "packages/PackageInstaller/src/com/android/packageinstaller/UnarchiveActivity.java"
    },
    {
      "type": "modify",
      "old_id": "78d2f889f1818395ad1265dd251e3b1d60f3e758",
      "old_mode": 33188,
      "old_path": "packages/PackageInstaller/src/com/android/packageinstaller/UnarchiveErrorActivity.java",
      "new_id": "01c786a346cf522589ff47c18d81ffc7f8e46fc4",
      "new_mode": 33188,
      "new_path": "packages/PackageInstaller/src/com/android/packageinstaller/UnarchiveErrorActivity.java"
    }
  ]
}
