)]}'
{
  "commit": "1eb64e20bfcf787b701cfaf36361a04f718bdcb1",
  "tree": "8101b77ae62c1cde6d38335a34f7b01dee3623aa",
  "parents": [
    "8613ca36464c885ec9db1a1c5391fbcbdeb2ae06"
  ],
  "author": {
    "name": "Jeff Chang",
    "email": "chengjeff@google.com",
    "time": "Tue Feb 08 14:06:14 2022 +0800"
  },
  "committer": {
    "name": "Android Build Coastguard Worker",
    "email": "android-build-coastguard-worker@google.com",
    "time": "Thu Mar 10 19:04:20 2022 +0000"
  },
  "message": "[RESTRICT AUTOMERGE] Do not resume activity if behind a translucent task\n\nThe top-focusable activity resides in the RESUMED state while the app\nprocess is newly created and attached. The behavior may enable UI\nhijacking attacks against apps implementing authentication.\n\nThis CL disallows the system to resume the activity for the case if it\nis not visible or is occluded by other translucent tasks.\n\nBug: 211481342\nTest: atest CtsWindowManagerDeviceTestCases:ActivityLifecycleTests\nChange-Id: I7903494cf928b5b5613700262b7c5fff10f3c5a0\n(cherry picked from commit 43b8bcc01474bce480642acae2c554393c3bfb6a)\nMerged-In: I7903494cf928b5b5613700262b7c5fff10f3c5a0\n",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "c4e03f5c65f51512c1cb7c74216b122c407d6add",
      "old_mode": 33188,
      "old_path": "services/core/java/com/android/server/wm/EnsureActivitiesVisibleHelper.java",
      "new_id": "c49a1c9b24dc354ef1f02eab651010fbc645274e",
      "new_mode": 33188,
      "new_path": "services/core/java/com/android/server/wm/EnsureActivitiesVisibleHelper.java"
    },
    {
      "type": "modify",
      "old_id": "15bd650104a697a9a84d320ea7097c4d99170fa9",
      "old_mode": 33188,
      "old_path": "services/core/java/com/android/server/wm/RootWindowContainer.java",
      "new_id": "145b1bd426dbcc4998f0195d6c9d8ee7e3f083e2",
      "new_mode": 33188,
      "new_path": "services/core/java/com/android/server/wm/RootWindowContainer.java"
    },
    {
      "type": "modify",
      "old_id": "6785127d59535ad9a79333b6bb7498e009697583",
      "old_mode": 33188,
      "old_path": "services/core/java/com/android/server/wm/Task.java",
      "new_id": "7e8221df12ee888bdec18954e0d99817d81a4eb8",
      "new_mode": 33188,
      "new_path": "services/core/java/com/android/server/wm/Task.java"
    }
  ]
}
