)]}'
{
  "commit": "b61562e1abe69d2e970541b97151a1187bba98fd",
  "tree": "f3eebb385f3844df4c14318795517b93977a7b0c",
  "parents": [
    "8c2ce8c567a2bb81a2c1a79eefcb1715b95133ab"
  ],
  "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 18:25:12 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:ec19d18c4ca34691f7c6ceb24fada48d66d3f296\nMerged-In: Ia0c154fca56db7c0c89abc2ea09af600d4990323\nChange-Id: Ia0c154fca56db7c0c89abc2ea09af600d4990323\n",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "fd0fccba65ead267e8ee0ebeb13c4b65686f9687",
      "old_mode": 33188,
      "old_path": "services/core/java/com/android/server/wm/WindowState.java",
      "new_id": "20bc639a30d7f35f89246b4b5b03eceaeda32482",
      "new_mode": 33188,
      "new_path": "services/core/java/com/android/server/wm/WindowState.java"
    },
    {
      "type": "modify",
      "old_id": "3ea13404c8142269a918dc7eb202926d69820dbc",
      "old_mode": 33188,
      "old_path": "services/tests/wmtests/src/com/android/server/wm/WindowStateTests.java",
      "new_id": "142f6fe5e13d8786cef8d3e271389816e2cdb463",
      "new_mode": 33188,
      "new_path": "services/tests/wmtests/src/com/android/server/wm/WindowStateTests.java"
    }
  ]
}
