)]}'
{
  "commit": "236258a3e304683b229200f174dc3c7ba70717e1",
  "tree": "f8fcd8fc04e568345ec22f1dd9a64b835a3f241f",
  "parents": [
    "31e7981c9d23a1b39997d09ac38e22174761ffa2"
  ],
  "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 19:02:50 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:767984f9160ccd92aa6dcc3fffdf6e8d94aaaff2\nMerged-In: Ia0c154fca56db7c0c89abc2ea09af600d4990323\nChange-Id: Ia0c154fca56db7c0c89abc2ea09af600d4990323\n",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "530d53c9e2aa2a9236e0fd268ea137dd0355349c",
      "old_mode": 33188,
      "old_path": "services/core/java/com/android/server/wm/WindowState.java",
      "new_id": "dc2f6c9741e4128f82fd5fe287c069132ad548e6",
      "new_mode": 33188,
      "new_path": "services/core/java/com/android/server/wm/WindowState.java"
    },
    {
      "type": "modify",
      "old_id": "118729cb0d48ce4fa4ef824a5c0621c8de2acc94",
      "old_mode": 33188,
      "old_path": "services/tests/wmtests/src/com/android/server/wm/WindowStateTests.java",
      "new_id": "c9819e845bcc6e54c0e84a769ad81042efc4b58b",
      "new_mode": 33188,
      "new_path": "services/tests/wmtests/src/com/android/server/wm/WindowStateTests.java"
    }
  ]
}
