)]}'
{
  "commit": "2f3f449d3a7f819e79326163e34179ad303722f1",
  "tree": "0121056cbfd26ad6c15bdcdf82c74785a91f8e2c",
  "parents": [
    "3ff42d05c40243c14662c07b40828106ea58ab7d"
  ],
  "author": {
    "name": "Yuyang Huang",
    "email": "yuyanghuang@google.com",
    "time": "Thu Feb 22 16:52:17 2024 +0900"
  },
  "committer": {
    "name": "Maciej Żenczykowski",
    "email": "maze@google.com",
    "time": "Thu Feb 22 08:35:44 2024 +0000"
  },
  "message": "Fix bug in getCounterValue() to extraction byte correctly\n\nThis commit addresses a bug in the ApfCounterTracker.getCounterValue()\nfunction where counter bytes were not being properly extracted prior to\na bitwise OR (|) operation. The fix reintroduces the \u0026ff mask to ensure\nproper byte extraction.\n\nExample program that cause the issue:\n\nbyte b \u003d -1;\nlong x \u003d 0;\nSystem.out.println(\"With 0xff: \" + (x \u003c\u003c 8 | b \u0026 0xff));\nSystem.out.println(\"Without \u00260xff: \" + (x \u003c\u003c 8 | b ));\n\nOutput:\n\nWith 0xff: 255\nWithout \u00260xff: -1\n\nTest: TH\nChange-Id: I997cdcf27e56d10d0d971e275d0561f0aef869a7\n",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "e174821d80ed0e35472815980e5ab02eb70c1805",
      "old_mode": 33188,
      "old_path": "src/android/net/apf/ApfCounterTracker.java",
      "new_id": "aa6c3e389a418f6064b9cebed631bde7cb81824f",
      "new_mode": 33188,
      "new_path": "src/android/net/apf/ApfCounterTracker.java"
    },
    {
      "type": "modify",
      "old_id": "6e9c230d4ca9208519d649e5892e8cfcfe0a4535",
      "old_mode": 33188,
      "old_path": "tests/unit/src/android/net/apf/ApfV5Test.kt",
      "new_id": "421ed5bee8cd16cf1e7889f7dd375a4b1b5d3114",
      "new_mode": 33188,
      "new_path": "tests/unit/src/android/net/apf/ApfV5Test.kt"
    }
  ]
}
