)]}'
{
  "commit": "042b52a8551fa84a0e17e9ad8db2fcf30002569a",
  "tree": "c249114f41f609c710abc298e3ae63d055eb6cd6",
  "parents": [
    "f08b9104a6e9609ad30205d00ff8c88b45c9e87a"
  ],
  "author": {
    "name": "oli",
    "email": "olit@google.com",
    "time": "Wed May 21 14:38:32 2025 +0000"
  },
  "committer": {
    "name": "Android Build Coastguard Worker",
    "email": "android-build-coastguard-worker@google.com",
    "time": "Fri Oct 10 13:59:41 2025 -0700"
  },
  "message": "Add resolveActivityAsUserForExplicitType api to pm\n\nallow checking for resolved activity for an intent with a specific type\n\nallowing the intent to declare its own type can lead to a security\nvulnerability if the intent changes its type after the IntentForwarder#canForward\ncheck.\n\nUse the new API in IntentForwarderActivity to prevent checking the intent\u0027s type twice.\n\nUpdate other call sites of IntentForwarder#canForward to extract the resolved type from the intent and pass in to to the method call\n\nCheck the launch package rather than calling package\n\nsanitize intent selector as well as received intent\n\nBug: 403565650 407763772 397216638\nFlag: EXEMPT bugfix\nTest: manually tested\n(cherry picked from https://googleplex-android-review.googlesource.com/q/commit:57233409d9bb5aef50373760a9b6551aa618c808)\nCherrypick-From: https://googleplex-android-review.googlesource.com/q/commit:4f0b02dea6c4f508c9b3aef8fff9910e80041d30\nMerged-In: I8453f25ed5ddd938718f4d2be4983c881778f281\nChange-Id: I8453f25ed5ddd938718f4d2be4983c881778f281\n",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "0ba56b97d510c6b67caddcaff4a15e687bdb5638",
      "old_mode": 33188,
      "old_path": "core/java/android/app/ApplicationPackageManager.java",
      "new_id": "d70071f273fe2ea455b60d5d43a4b44fb79644ba",
      "new_mode": 33188,
      "new_path": "core/java/android/app/ApplicationPackageManager.java"
    },
    {
      "type": "modify",
      "old_id": "2a0d4acbe76fb609375373d4c5bebac969ee8b1f",
      "old_mode": 33188,
      "old_path": "core/java/android/content/pm/PackageManager.java",
      "new_id": "478650d908760c9e06d99694807dd0fc609e6c76",
      "new_mode": 33188,
      "new_path": "core/java/android/content/pm/PackageManager.java"
    },
    {
      "type": "modify",
      "old_id": "5e2eceb23789d328f060a8672cbc8fc7bff7216b",
      "old_mode": 33188,
      "old_path": "core/java/com/android/internal/app/AbstractMultiProfilePagerAdapter.java",
      "new_id": "8a62badbe9cbe897d44a3957f5691c37fa6990a9",
      "new_mode": 33188,
      "new_path": "core/java/com/android/internal/app/AbstractMultiProfilePagerAdapter.java"
    },
    {
      "type": "modify",
      "old_id": "259e82181da1fefdd8cdcd16dfb6d256997eee15",
      "old_mode": 33188,
      "old_path": "core/java/com/android/internal/app/IntentForwarderActivity.java",
      "new_id": "db63bbaae7991c481375ac53ceb9ee572b1b7add",
      "new_mode": 33188,
      "new_path": "core/java/com/android/internal/app/IntentForwarderActivity.java"
    },
    {
      "type": "modify",
      "old_id": "58cfc66250511a2e743a407a610f526d912d9f93",
      "old_mode": 33188,
      "old_path": "core/tests/coretests/src/com/android/internal/app/IntentForwarderActivityTest.java",
      "new_id": "9f7b10b3112f103210b25ac12ee4c79e5438ff07",
      "new_mode": 33188,
      "new_path": "core/tests/coretests/src/com/android/internal/app/IntentForwarderActivityTest.java"
    }
  ]
}
