)]}'
{
  "commit": "ce0d10c09fabc20c74f903ca8860accf84bf83de",
  "tree": "fc973ebf5557cca216c5f476b0ca2f3e9d029289",
  "parents": [
    "40209a7bd4a46acdaf3c3d82d4bdc1eefbbda6d3"
  ],
  "author": {
    "name": "Eduard Dumitrescul",
    "email": "dveduard@google.com",
    "time": "Fri Jun 26 13:01:36 2026 +0000"
  },
  "committer": {
    "name": "Android Build Coastguard Worker",
    "email": "android-build-coastguard-worker@google.com",
    "time": "Thu Aug 20 13:18:47 2026 -0700"
  },
  "message": "Add type validation for Bundle policy\n\nThe new `BundlePolicyTypeVerifier.java` ensures that `BundlePolicyValue`\nonly contains supported value types.\n`BundlePolicySerializer` is updated to thrown an exception when it\nencounters an unsupported value type, as an extra safety measure.\n\nBug: 515038894\nFlag: EXEMPT CVE_FIX\nTest: atest BundlePolicySerializerTest\nTest: atest PolicyValueTest\nTest: atest ApplicationRestrictionsTest#setApplicationRestrictions_invalidBundleType_throwsIllegalArgumentException\nCherrypick-From: https://googleplex-android-review.googlesource.com/q/commit:4439c37ea4d31b1cfdd99d2f7b90efe000019fb5\nCherrypick-From: https://googleplex-android-review.googlesource.com/q/commit:71b1b802ffc30d4b1af74a6fe7776720e907fb87\nMerged-In: I447390fa4821c6f9352ff496b9756bfad82d875f\nChange-Id: I447390fa4821c6f9352ff496b9756bfad82d875f\n",
  "tree_diff": [
    {
      "type": "add",
      "old_id": "0000000000000000000000000000000000000000",
      "old_mode": 0,
      "old_path": "/dev/null",
      "new_id": "85e9eb33f094910bcf47a11bc64c3147772adb6c",
      "new_mode": 33188,
      "new_path": "core/java/android/app/admin/BundlePolicyTypeVerifier.java"
    },
    {
      "type": "modify",
      "old_id": "f9653a4e85b048bb0cd2bc77e3c2cf2e2c08ac10",
      "old_mode": 33188,
      "old_path": "core/java/android/app/admin/BundlePolicyValue.java",
      "new_id": "623f638a87fcbba9a730549996fa3dcdef10b4d3",
      "new_mode": 33188,
      "new_path": "core/java/android/app/admin/BundlePolicyValue.java"
    },
    {
      "type": "modify",
      "old_id": "82f9aadba9f44b12329bde9e5dad51ffd580e4d4",
      "old_mode": 33188,
      "old_path": "services/devicepolicy/java/com/android/server/devicepolicy/BundlePolicySerializer.java",
      "new_id": "0082abfa3647323b2645e305da5004b1841a5742",
      "new_mode": 33188,
      "new_path": "services/devicepolicy/java/com/android/server/devicepolicy/BundlePolicySerializer.java"
    },
    {
      "type": "add",
      "old_id": "0000000000000000000000000000000000000000",
      "old_mode": 0,
      "old_path": "/dev/null",
      "new_id": "32bac6a135fb6eafb16b2a97afaf3d63fe53fe91",
      "new_mode": 33188,
      "new_path": "services/tests/servicestests/src/com/android/server/devicepolicy/BundlePolicySerializerTest.kt"
    },
    {
      "type": "add",
      "old_id": "0000000000000000000000000000000000000000",
      "old_mode": 0,
      "old_path": "/dev/null",
      "new_id": "c92339ed1cc455656e957829d454c4577c426e3e",
      "new_mode": 33188,
      "new_path": "services/tests/servicestests/src/com/android/server/devicepolicy/PolicyValueTest.kt"
    }
  ]
}
