)]}'
{
  "commit": "7d2df4401da6811d5ccbad812327fafeca6733ef",
  "tree": "5d56ec5c85a4fbc01c0dacbf944eb6b4ead74e37",
  "parents": [
    "8c760fe3219ed5309016e6405318010ff3be9426"
  ],
  "author": {
    "name": "Tommy Webb",
    "email": "tommy@calyxinstitute.org",
    "time": "Thu Mar 21 19:58:07 2024 +0000"
  },
  "committer": {
    "name": "Michael Bestas",
    "email": "mkbestas@lineageos.org",
    "time": "Mon Nov 17 20:19:03 2025 +0200"
  },
  "message": "UsbDeviceManager: Adapt for data signaling quirks\n\nAlways treat USB as disconnected if USB data signaling is turned off.\nSet USB functions to none, and send a state change event.\n\nThe resulting behavior matches the Google Pixel series, which already\nreports USB as disconnected when data signaling is turned off, but the\nMotorola series (and maybe others that use Qualcomm\u0027s HAL) do not.\n\nTest: Manual: Set Restrict USB to Always allow. Connect to a computer.\nObserve the USB notification on device. Set Restrict USB to Deny. Check\nthat the notification disappears. Search Settings for USB and tap the\nConnected devices \u003e USB result. The \"Use USB for\" section is disabled.\n\nIssue: calyxos#2154\nChange-Id: I9d8753d4dbb18012e0d40f4991ab4c15bad14de1\n",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "e0c180e5bf10c55bfea1110814c899edce1c012b",
      "old_mode": 33188,
      "old_path": "services/usb/java/com/android/server/usb/UsbDeviceManager.java",
      "new_id": "a6c30da304d4637442e2c6bdf02e95bcc7d82b78",
      "new_mode": 33188,
      "new_path": "services/usb/java/com/android/server/usb/UsbDeviceManager.java"
    }
  ]
}
