)]}'
{
  "commit": "1c0dacd235a17641203d9def9b137ce360950806",
  "tree": "2afa12fa55b2372afce928630616ae3fd717cb01",
  "parents": [
    "169e37cc92c2e1641d47b6e17b378a5cd5cbc57d"
  ],
  "author": {
    "name": "Justin Ghan",
    "email": "justinghan@google.com",
    "time": "Wed Aug 09 11:57:51 2023 -0700"
  },
  "committer": {
    "name": "Justin Ghan",
    "email": "justinghan@google.com",
    "time": "Wed Aug 09 11:57:51 2023 -0700"
  },
  "message": "Store pending connected view when requesting focus\n\nBefore this change, HandwritingInitiator would request focus for a\nhandwriting view when it detected stylus movement on the view, and\nexpect an InputConnection to be created for that view.\n\nHowever, in some apps, an InputConnection could be created for a\ndifferent view, before the InputConnection for the focus requested view\nis created (for example, see b/286289041). This would cause handwriting\ninitiation to fail.\n\nTo handle this case, HandwritingInitiator stores a reference to the view\nwhen it requests focus, then waits for the InputConnection to be created\nfor that view, and ignores any other InputConnections created in the\nmeantime.\n\nBug: 286287855\nTest: atest HandwritingInitiatorTest\nChange-Id: I63ca718e1ac7221f28aa6f4c6dd1d66974e12118\n",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "ab58306ba5ab57052d6fd992b9633da2c6c19e7e",
      "old_mode": 33188,
      "old_path": "core/java/android/view/HandwritingInitiator.java",
      "new_id": "4cfec99dff0139161fbb1776706d0af93161443c",
      "new_mode": 33188,
      "new_path": "core/java/android/view/HandwritingInitiator.java"
    },
    {
      "type": "modify",
      "old_id": "8028b14d53b610c0d71ec470e99c0f92c97a5bb6",
      "old_mode": 33188,
      "old_path": "core/tests/coretests/src/android/view/stylus/HandwritingInitiatorTest.java",
      "new_id": "f1eef7551dd54a80799b72427073f91c303e91c4",
      "new_mode": 33188,
      "new_path": "core/tests/coretests/src/android/view/stylus/HandwritingInitiatorTest.java"
    }
  ]
}
