)]}'
{
  "commit": "8b1a0f9a266a32baeb2be070f8b2384bb56e5c93",
  "tree": "1af82a033d20e4da702e476c465e133eff892586",
  "parents": [
    "cfc0443b4ce8eac2e161a8262fa84e5b5b6c045d"
  ],
  "author": {
    "name": "Miranda Kephart",
    "email": "mkephart@google.com",
    "time": "Fri Feb 16 10:14:15 2024 -0500"
  },
  "committer": {
    "name": "Android Build Coastguard Worker",
    "email": "android-build-coastguard-worker@google.com",
    "time": "Wed Oct 09 22:51:55 2024 +0000"
  },
  "message": "Block clipboard UI when device is locked\n\nIn some situations (see bug for details) it\u0027s possible to enter the\nclipboard even while the device is locked, and from there access the\nprovided intents. Users should not be able to access intents from this\nstate; this change adds an additional check before showing the interactive UI.\n\nThe behavior is identical to what we do when user setup is not complete\n(b/251778420): we show a toast to note that content has been copied, but no interactive UI.\n\nInteractive UI is only blocked when device is locked (i.e. requiring pin\nentry/password/biometric/etc), not if the keyguard is up but trivially\ndismissable.\n\nBug: 317048495\nTest: atest ClipboardListenerTest; verification using steps in linked\nbug as well as forcing text content to appear client-side, to verify\nthat even if text content is received in the ClipboardListener, no\ninteractive UI appears.\n\n(cherry picked from commit 2976ca86d5c5be558191a1fe706d4cd0d7ccdecb)\n(cherry picked from https://googleplex-android-review.googlesource.com/q/commit:b9ffec803b31f1b57756105c9fbfd0cb672fcfde)\nMerged-In: I1a48cbe64852dce3fba69915ca11dad8878f66eb\nChange-Id: I1a48cbe64852dce3fba69915ca11dad8878f66eb\n",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "da602caac0dc8a9be11272ac341c0ec27bc5c65a",
      "old_mode": 33188,
      "old_path": "packages/SystemUI/src/com/android/systemui/clipboardoverlay/ClipboardListener.java",
      "new_id": "cdf58db58a15e600b77118f890d1c8e2f1f6a5ab",
      "new_mode": 33188,
      "new_path": "packages/SystemUI/src/com/android/systemui/clipboardoverlay/ClipboardListener.java"
    },
    {
      "type": "modify",
      "old_id": "86402b3202d4f30a950bcadd08a9fb8c045eac08",
      "old_mode": 33188,
      "old_path": "packages/SystemUI/tests/src/com/android/systemui/clipboardoverlay/ClipboardListenerTest.java",
      "new_id": "1d947dd780477b8f95da97b394fbd0402734c217",
      "new_mode": 33188,
      "new_path": "packages/SystemUI/tests/src/com/android/systemui/clipboardoverlay/ClipboardListenerTest.java"
    }
  ]
}
