)]}'
{
  "commit": "5cf100905634f504cb5f9fa30e9b3f1d828c8f5f",
  "tree": "0b2828c218c2c389a20c18c90b100350aa8b90ee",
  "parents": [
    "8df772fb59b4f688f09bc94c7afc9615cfb564dd"
  ],
  "author": {
    "name": "Biswarup Pal",
    "email": "biswarupp@google.com",
    "time": "Wed Apr 29 12:04:35 2026 -0700"
  },
  "committer": {
    "name": "Android Build Coastguard Worker",
    "email": "android-build-coastguard-worker@google.com",
    "time": "Thu Jul 09 19:01:01 2026 -0700"
  },
  "message": "Restrict VirtualDeviceImpl methods to device owner.\n\nAdd checkCallerIsDeviceOwner() to setListeners, close, getVirtualCameraId, and playSoundEffect to ensure only the owning application can call these methods.\n\nTest: presubmit\nBug: 495646742\nFlag: EXEMPT BUGFIX\n(cherry picked from commit fe4e7456e4353ce846e3e72169f86ba04020f286)\nCherrypick-From: https://googleplex-android-review.googlesource.com/q/commit:a101654da176c6a855f134eedfcf893d698da329\nMerged-In: I68d8cdb0de58ffc2c4109264e0a49b078ae0c17e\nChange-Id: I68d8cdb0de58ffc2c4109264e0a49b078ae0c17e\n",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "850e8806e6983d618e501f76549205d99b729cfa",
      "old_mode": 33188,
      "old_path": "services/companion/java/com/android/server/companion/virtual/VirtualDeviceImpl.java",
      "new_id": "35217902eaaf3140dd64387efe353a8483f8b7e3",
      "new_mode": 33188,
      "new_path": "services/companion/java/com/android/server/companion/virtual/VirtualDeviceImpl.java"
    },
    {
      "type": "modify",
      "old_id": "410e80a77fe29f5d945f7698ac68619e2ab9efc4",
      "old_mode": 33188,
      "old_path": "services/companion/java/com/android/server/companion/virtual/VirtualDeviceShellCommand.java",
      "new_id": "4f170f51f27d33e2df5bf0b86db70cbd5dabdba2",
      "new_mode": 33188,
      "new_path": "services/companion/java/com/android/server/companion/virtual/VirtualDeviceShellCommand.java"
    }
  ]
}
