)]}'
{
  "commit": "b13da8fa00af57b14318fb5b0ce64d6c700852ad",
  "tree": "169339efc07636433b91d48aeff069295e0d0ba3",
  "parents": [
    "afb7d61d836667787c5e0b083be435a41c843126"
  ],
  "author": {
    "name": "Prabir Pradhan",
    "email": "prabirmsp@google.com",
    "time": "Tue Jan 09 23:10:13 2024 +0000"
  },
  "committer": {
    "name": "Prabir Pradhan",
    "email": "prabirmsp@google.com",
    "time": "Tue Jan 09 23:20:45 2024 +0000"
  },
  "message": "InputDispatcher: Do not synthesize cancelations for zombie connections\n\nWhen an input channel is removed, we mark it as a zombie connection in\nDispatcher.\n\nWhenever we leave a critical section inside Dispatcher, it is possible\nfor an input channel to be removed. When handling fallback keys, we make\na policy call synchronously while processing the unhandled key\nby releasing the lock. After returning from the policy call, it\u0027s\npossible the input channel was removed, leaving the connection in a\nzombie state.\n\nWhen in this state, if we try to synthesize a cancelation event, we\nwould end up crashing. To avoid this, ensure we don\u0027t try to synthesize\ncancelations for channels that aren\u0027t normal (i.e. broken or zombie\nchannels).\n\nBug: 319186639\nTest: atest inputflinger_tests\nChange-Id: I05a9b001de19bf26d81ea50a511d84bc3a2045d2\n",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "768ed82e3b94e5a47a7d746a25fdfa2010530edc",
      "old_mode": 33188,
      "old_path": "services/inputflinger/dispatcher/InputDispatcher.cpp",
      "new_id": "631932201627d27d80518dff62ace69e7f88e7a8",
      "new_mode": 33188,
      "new_path": "services/inputflinger/dispatcher/InputDispatcher.cpp"
    },
    {
      "type": "modify",
      "old_id": "64f237268bce324ef904b2ffb61fc4b6b205ae24",
      "old_mode": 33188,
      "old_path": "services/inputflinger/tests/InputDispatcher_test.cpp",
      "new_id": "6abaa55d92a785443fb0f23225c5e1931c12b950",
      "new_mode": 33188,
      "new_path": "services/inputflinger/tests/InputDispatcher_test.cpp"
    }
  ]
}
