[automerger skipped] Merge "Check if /dev/input exists before accessing the path" am: 9aab31842a am: d25633bbea -s ours

am skip reason: Merged-In I8675921280e351dd8885becce79a7cb4a9936c10 with SHA-1 78eb975e7b is already in history

Original change: https://android-review.googlesource.com/c/platform/frameworks/native/+/1744175

Change-Id: Ic2eceb790c8cd7862f69998727ca5d84afc904d0