)]}'
{
  "commit": "125ac180b0038f69dcbee3f60fe2c04cbbd21d9d",
  "tree": "0fb73467346f198348ef4a9de34b00d69de29ad0",
  "parents": [
    "8f0af71f0fad15848d5f18f96a4bdebc5fffed1e"
  ],
  "author": {
    "name": "Sonali Pradhan",
    "email": "sonalipradhan@google.com",
    "time": "Thu Jul 23 00:52:18 2026 -0700"
  },
  "committer": {
    "name": "Android Build Cherrypicker Worker",
    "email": "android-build-cherrypicker-worker@google.com",
    "time": "Thu Jul 23 00:52:18 2026 -0700"
  },
  "message": "AoaHID: Use 1-based IDs for virtual devices\n\nA recent kernel security hardening patch restricts virtual HID device\nregistration to IDs greater than 0.\n\nThe aoa-helper library assigned 0-based IDs to virtual devices based on\nthe enum ordinal() value (e.g. touch screen was ID 0). When attempting\nto connect to a device running the updated kernel, the kernel rejects\nthe ID 0 registration causing a pipe error on the host side.\n\nShift the virtual device IDs to be 1-based (ordinal() + 1) to satisfy\nthe kernel\u0027s id \u003e 0 validation check.\n\nBug: 531673909\nTest: atest aoa-helper-test\nFlag: EXEMPT BUGFIX\nCherrypick-From: https://googleplex-android-review.googlesource.com/q/commit:549ba4077992aeb9084cb939d903f47ea59e412c\nMerged-In: Ib35a0230a7459a1bf52d3be90902b77fd7d7444d\nChange-Id: Ib35a0230a7459a1bf52d3be90902b77fd7d7444d\n",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "b420a6c0f4f4ceb9eeb186d4370d4112665e0552",
      "old_mode": 33188,
      "old_path": "aoa_helper/src/com/android/helper/aoa/AoaHID.java",
      "new_id": "e9f23f639656b8f77a74a9878a1db0c038cbdd31",
      "new_mode": 33188,
      "new_path": "aoa_helper/src/com/android/helper/aoa/AoaHID.java"
    }
  ]
}
