)]}'
{
  "commit": "68829b2d18070d9c517b47df76e183b9e8169573",
  "tree": "b9608d9c107abbf4cea6ef8e7b1961545d0d89ff",
  "parents": [
    "c8f77be5604c3c66a2c29e753ce42cf54710305e"
  ],
  "author": {
    "name": "Robin Lee",
    "email": "rgl@google.com",
    "time": "Mon Jun 12 21:00:20 2023 +0200"
  },
  "committer": {
    "name": "Android Build Coastguard Worker",
    "email": "android-build-coastguard-worker@google.com",
    "time": "Mon Jun 19 03:53:00 2023 +0000"
  },
  "message": "Keyguard: use transition state for syncing occlude [RESTRICT AUTOMERGE]\n\nPreviously keyguard occlude state was passed in onAnimationCancelled\nwhich was not reliable for two reasons:\n\n (1) onAnimationCancelled is not called if the animation immediately\n finishes itself due to unhappiness at the contents of the transition\n it\u0027s been asked to play (eg. empty app list)\n\n (2) Clients have inconsistent handling of that paramter - some ignore\n it, some respect it, one may get passed wrong information by a local\n caller in mergeAnimation.\n\nInstead note the Keyguard flags at the start of every app transition\nand queue up a call to setKeyguardOccluded if the transition may cause a\nchange. This should be sent after the animation is already finished.\n\nThis is ideally similar to 140a05907d905e38aa5690320d26c90ca29bf772\n(Run keyguard occlusion update after transitions) which was done for\nWmShell transitions.\n\nTest: atest KeyguardTests\nTest: atest ActivityLifecycleKeyguardTests\nTest: atest MultiDisplayKeyguardTests\nTest: atest MultiDisplayLockedKeyguardTests\nBug: 286099078\n(cherry picked from https://googleplex-android-review.googlesource.com/q/commit:831787c50d4d74913d5b12d344e25743760aa437)\nMerged-In: Ifcdac241bfe33f44f5f03f1a6db682c57f0cd388\nChange-Id: Ifcdac241bfe33f44f5f03f1a6db682c57f0cd388\n",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "d608abc3b0089cbbdb30823a1eec0ddba6a48241",
      "old_mode": 33188,
      "old_path": "packages/SystemUI/src/com/android/systemui/keyguard/KeyguardViewMediator.java",
      "new_id": "58ed3aae233e4f1e337cf8d7709d8678d71ccb64",
      "new_mode": 33188,
      "new_path": "packages/SystemUI/src/com/android/systemui/keyguard/KeyguardViewMediator.java"
    },
    {
      "type": "modify",
      "old_id": "74d87cd60b6853225e9d4161a095c3a4dc3348de",
      "old_mode": 33188,
      "old_path": "services/core/java/com/android/server/policy/PhoneWindowManager.java",
      "new_id": "2426a882daddb3f0dbbd5be3394254606c12d152",
      "new_mode": 33188,
      "new_path": "services/core/java/com/android/server/policy/PhoneWindowManager.java"
    }
  ]
}
