)]}'
{
  "commit": "2e158f2d9a81a0e906aa4bc5f45bfd016c972cfa",
  "tree": "c438fafdf6c24747491f877dda02a8de0f77a344",
  "parents": [
    "0e92b8431dbcc5bc65dafc485fc0cef277df0644"
  ],
  "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:43:54 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:583d63aacd141f7d8c5f53cdb5d99af6e5b09733\nMerged-In: I8f1265acae162cd752e76259f4ffaf39ab76b7e5\nChange-Id: I8f1265acae162cd752e76259f4ffaf39ab76b7e5\n",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "d05aaaa6e38999eb7992e6ba24b0c3f9dd84a5ae",
      "old_mode": 33188,
      "old_path": "packages/PackageInstaller/src/com/android/packageinstaller/PackageUtil.java",
      "new_id": "22747dea661d0fb44a2d9d42aa23ec95acf588a3",
      "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"
    }
  ]
}
