)]}'
{
  "commit": "731cf3f25c7e7c1fa587bb35fdcedba712883b4c",
  "tree": "699e5340c09c9e9ac227aec765f5d83ba554d412",
  "parents": [
    "2ede973585df1b50c1ea26171732828822322ec6"
  ],
  "author": {
    "name": "Surbhi Kadam",
    "email": "surbhikadam@google.com",
    "time": "Mon Sep 08 20:45:12 2025 -0700"
  },
  "committer": {
    "name": "Android Build Coastguard Worker",
    "email": "android-build-coastguard-worker@google.com",
    "time": "Fri Oct 10 14:12:07 2025 -0700"
  },
  "message": "Sanitize window private flags based on caller permissions.\n\nIntroduces `sanitizePrivateFlags` to check if the calling application has the necessary permissions to set certain `LayoutParams.privateFlags`. Specifically, `PRIVATE_FLAG_IS_ROUNDED_CORNERS_OVERLAY` and `PRIVATE_FLAG_TRUSTED_OVERLAY` require `INTERNAL_SYSTEM_WINDOW`, and `PRIVATE_FLAG_INTERCEPT_GLOBAL_DRAG_AND_DROP` requires `MANAGE_ACTIVITY_TASKS`. These flags are removed if the caller lacks the required permissions during window relayout.\n\nBug: 406243581\nTest: atest WindowManagerServiceTests\nFlag: EXEMPT bug fix\n\n(cherry picked from commit ec6a92be6c93173fb5c61f95ff92e0f68fe0e951)\nCherrypick-From: https://googleplex-android-review.googlesource.com/q/commit:de831dc7ee8d95de5568cd981f82b92f1fc29f0a\nMerged-In: I4fdf2152f06082e13690e7f5b628e0ca0acdff84\nChange-Id: I4fdf2152f06082e13690e7f5b628e0ca0acdff84\n",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "52af39ee64b3195967225e0502180581884bf494",
      "old_mode": 33188,
      "old_path": "services/core/java/com/android/server/wm/WindowManagerService.java",
      "new_id": "c56a87d64713aeacdf41d1f8e478a1526bd124d0",
      "new_mode": 33188,
      "new_path": "services/core/java/com/android/server/wm/WindowManagerService.java"
    },
    {
      "type": "modify",
      "old_id": "a0c20c2c6b688bf7b66d8a404003de0778ffaa0c",
      "old_mode": 33188,
      "old_path": "services/tests/wmtests/src/com/android/server/wm/WindowManagerServiceTests.java",
      "new_id": "4856a174a3d6a93ad5271180797891b7acc5be6a",
      "new_mode": 33188,
      "new_path": "services/tests/wmtests/src/com/android/server/wm/WindowManagerServiceTests.java"
    }
  ]
}
