)]}'
{
  "commit": "8130b605781797665ea07c8532e2b6f262e791c0",
  "tree": "8091d10d5b783e670ea786ef63fa71bbc37654d2",
  "parents": [
    "fc3f36a616a3159740b111631573ac37123a3871"
  ],
  "author": {
    "name": "Candice Lo",
    "email": "chihtinglo@google.com",
    "time": "Fri Apr 24 07:56:29 2026 +0000"
  },
  "committer": {
    "name": "Android Build Coastguard Worker",
    "email": "android-build-coastguard-worker@google.com",
    "time": "Thu Jul 09 17:50:11 2026 -0700"
  },
  "message": "Fix using the base type for checking\n\nWhen a window is a sub-window, its `mAttr.type` won\u0027t be captured by `isSystemAlertWindowType`. Therefore, the window could run into the early return condition and skip the hide/show in `setHiddenWhileSuspended` when its top parent window is a system alert window and the app is suspended, which will lead to security concerns. Therefore, we check the base type of the window instead.\n\nBug: 493714520\nTest: atest WindowStateTests\nFlag: EXEMPT BUGFIX\nCherrypick-From: https://googleplex-android-review.googlesource.com/q/commit:617b18b15e675266e52fd88b69506ad7d5f86778\nCherrypick-From: https://googleplex-android-review.googlesource.com/q/commit:372c0fdbf48e9a7d40a93338fc37fd5a70a3892b\nMerged-In: Ia0c154fca56db7c0c89abc2ea09af600d4990323\nChange-Id: Ia0c154fca56db7c0c89abc2ea09af600d4990323\n",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "ec8e4f9b2c674e5ce95306eb0f6ad4a9cff9c575",
      "old_mode": 33188,
      "old_path": "services/core/java/com/android/server/wm/WindowState.java",
      "new_id": "4f938d62fe3106a100b019f7f4c5bfed40104617",
      "new_mode": 33188,
      "new_path": "services/core/java/com/android/server/wm/WindowState.java"
    },
    {
      "type": "modify",
      "old_id": "0acca08b5cf35b9febf15a090b743855dd2844e9",
      "old_mode": 33188,
      "old_path": "services/tests/wmtests/src/com/android/server/wm/WindowStateTests.java",
      "new_id": "b3e930e12292abbab5258c9a23e225db78f404fb",
      "new_mode": 33188,
      "new_path": "services/tests/wmtests/src/com/android/server/wm/WindowStateTests.java"
    }
  ]
}
