)]}'
{
  "commit": "ce479a9a57bd9471e7b476056dbfebf3481c90ed",
  "tree": "434a0110761b5db5e3aa2cb4ba01eba45e909d90",
  "parents": [
    "051431afaec5aaa8e0a0e21fcec6a0c04358d3fa"
  ],
  "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 15:44: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:88d2759ddc055c36e56b79ae1f3e8139e956a1bb\nMerged-In: Ia0c154fca56db7c0c89abc2ea09af600d4990323\nChange-Id: Ia0c154fca56db7c0c89abc2ea09af600d4990323\n",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "c16262c9decff47e8c0a9e5bb5dce9ed909e2dfd",
      "old_mode": 33188,
      "old_path": "services/core/java/com/android/server/wm/WindowState.java",
      "new_id": "390eabeb166908d81d9620be2717280bfe6349f0",
      "new_mode": 33188,
      "new_path": "services/core/java/com/android/server/wm/WindowState.java"
    },
    {
      "type": "modify",
      "old_id": "c38835a5fb39d01d9b5300ac3a7c4d4ce6b8eada",
      "old_mode": 33188,
      "old_path": "services/tests/wmtests/src/com/android/server/wm/WindowStateTests.java",
      "new_id": "c6d3f5cfc2b760f43733d09135d67060c5438b2b",
      "new_mode": 33188,
      "new_path": "services/tests/wmtests/src/com/android/server/wm/WindowStateTests.java"
    }
  ]
}
