)]}'
{
  "commit": "5186ece4af3ae9bf7a3941e861617836e8149d62",
  "tree": "241ebaf7768ec60c3b26b3ab63621c3381d6cd2b",
  "parents": [
    "9992cf5f62e478e6886c90f27284f2bcd62f5d8b"
  ],
  "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 12:16:22 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:3b224c4cc4936ddbe6a67788876fd5ac3dcbcd58\nMerged-In: I447390fa4821c6f9352ff496b9756bfad82d875f\nChange-Id: I447390fa4821c6f9352ff496b9756bfad82d875f\n",
  "tree_diff": [
    {
      "type": "add",
      "old_id": "0000000000000000000000000000000000000000",
      "old_mode": 0,
      "old_path": "/dev/null",
      "new_id": "c434e12ea31c4f2a42a1a237a072cb5b3d310c8c",
      "new_mode": 33188,
      "new_path": "core/java/android/app/admin/BundlePolicyTypeVerifier.java"
    },
    {
      "type": "modify",
      "old_id": "c993671f4fc176b669981307eb43612ed63e62f8",
      "old_mode": 33188,
      "old_path": "core/java/android/app/admin/BundlePolicyValue.java",
      "new_id": "7c476b61a8c0b6074247306aa79d89f02554d00e",
      "new_mode": 33188,
      "new_path": "core/java/android/app/admin/BundlePolicyValue.java"
    },
    {
      "type": "modify",
      "old_id": "a65c7e1870f348606a3e12e8bd01da3655021545",
      "old_mode": 33188,
      "old_path": "services/devicepolicy/java/com/android/server/devicepolicy/BundlePolicySerializer.java",
      "new_id": "72ec2b8a8df8b2b6538cdb41e45339c9d13b8446",
      "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"
    }
  ]
}
