)]}'
{
  "commit": "78eb975e7b63d3ac74988ebc18cf4cc6c3f19622",
  "tree": "cbc3c305f5c8375a2da03b0dd8479852e88c1ef7",
  "parents": [
    "f3d34a7129aa8354ee9bb18f8eabdf198785edfe"
  ],
  "author": {
    "name": "Usama Arif",
    "email": "usama.arif@arm.com",
    "time": "Thu Jun 03 16:44:09 2021 +0100"
  },
  "committer": {
    "name": "Siarhei Vishniakou",
    "email": "svv@google.com",
    "time": "Mon Jul 12 23:35:31 2021 +0000"
  },
  "message": "Check if /dev/input exists before accessing the path\n\nIt is possible that development platforms don\u0027t have any input devices,\nhence /dev/input directory won\u0027t be created. Hence check if /dev/input exists\nbefore adding inotify watch and scanDirLocked for /dev/input.\ninotify_add_watch is also added for /dev/input when it is created. for e.g.\nduring EventHubTest.\n\nTest: atest inputflinger_tests (on a development board with no input\ndevices)\nSigned-off-by: Usama Arif \u003cusama.arif@arm.com\u003e\nChange-Id: I8675921280e351dd8885becce79a7cb4a9936c10\nMerged-In: I8675921280e351dd8885becce79a7cb4a9936c10\n(cherry picked from commit b27c8e63e5b4961c300c50e1c935e0f7cdeea0fa)\n",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "b19b4195d1d7c2ba43df48d0573d47abb07c073d",
      "old_mode": 33188,
      "old_path": "services/inputflinger/reader/EventHub.cpp",
      "new_id": "68d5e7c3008b932d6d71ea9bc5a6644a8632b337",
      "new_mode": 33188,
      "new_path": "services/inputflinger/reader/EventHub.cpp"
    },
    {
      "type": "modify",
      "old_id": "410a7063eabc138db9960a3765fd1a97a036f40f",
      "old_mode": 33188,
      "old_path": "services/inputflinger/reader/include/EventHub.h",
      "new_id": "d88b1bd704825a7c212b240669c200517762042f",
      "new_mode": 33188,
      "new_path": "services/inputflinger/reader/include/EventHub.h"
    }
  ]
}
