)]}'
{
  "commit": "81d0988803cb2b6b6f93fb06ffd5156f2c990b79",
  "tree": "92825e08529c26641b77da58eeb6b9cd6bc8a5ed",
  "parents": [
    "a96800911cd920a3e579690a6afb045cf7a74ca4"
  ],
  "author": {
    "name": "Pinyao Ting",
    "email": "pinyaoting@google.com",
    "time": "Mon Jan 30 17:48:53 2023 -0800"
  },
  "committer": {
    "name": "Pinyao Ting",
    "email": "pinyaoting@google.com",
    "time": "Mon Jan 30 17:57:48 2023 -0800"
  },
  "message": "Allow shortcuts to be pinned by unbundled chooser\n\nOriginally ShareSheet was part of android system, so shortcuts pinned by\nShareSheet are pinned by the system process. Since we are moving\nShareSheet into a separate module, this means shortcuts should not be\npinned by the system process, but by unbundled chooser process, when\nthat module is enabled.\n\nThis CL change the package name that pins the shortcut to corresponding\npackage in respect to whether intent resolver module is enabled.\n\nBug: 258072921\nTest: Steps to verify\n1. Open Chrome, go to any website.\n2. Click on the search box, click share to share the URL\n3. Click on more to bring up system ShareSheet.\n4. Long-press on a direct sharing shortcut, then pin the shortcut.\n5. Verify the direct sharing shortcut is pinned in the share sheet.\n6. adb shell pm enable --user 0 com.android.intentresolver/.ChooserActivity\n7. repeat 1-5\n\nChange-Id: Id7c5b9d7cb17aa0dc8e5293bba9de29f8197e182\n",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "890c89152a7ce3e30b377c38f30076a97507dd50",
      "old_mode": 33188,
      "old_path": "services/core/java/com/android/server/pm/ShortcutPackage.java",
      "new_id": "632a34e4470d48aecd617bbe371274bb12c137f5",
      "new_mode": 33188,
      "new_path": "services/core/java/com/android/server/pm/ShortcutPackage.java"
    },
    {
      "type": "modify",
      "old_id": "0b20683185f016f72e9602d77fa5bc94135a5c48",
      "old_mode": 33188,
      "old_path": "services/core/java/com/android/server/pm/ShortcutService.java",
      "new_id": "49831d75db4921f7b9c8297d14055668d7fecc72",
      "new_mode": 33188,
      "new_path": "services/core/java/com/android/server/pm/ShortcutService.java"
    }
  ]
}
