)]}'
{
  "commit": "fdf981f52e3c5a84367878cb66239e5f693457d6",
  "tree": "acbb7273186f7a457779612f88ef5600c3598553",
  "parents": [
    "7cdf1b5c8df09a18be39daf52b5ecd4e120f67a3"
  ],
  "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:56:45 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:c46686151da28380cb7eed6938cd6f9467e9afe4\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": "00e67e64502afd1396a844cd1e2de2f7ce049cd8",
      "old_mode": 33188,
      "old_path": "core/java/android/app/admin/BundlePolicyValue.java",
      "new_id": "729288edd05d058baf7c8b125000428fe28fee3b",
      "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"
    }
  ]
}
