)]}'
{
  "commit": "400abd9371171ca4d26ab6b8751daba66a7df87a",
  "tree": "74b5d71cc04e19cc96cc2f2be5cfe75666385355",
  "parents": [
    "4894e35f11ce45f1b6166745d743af5685ff132c"
  ],
  "author": {
    "name": "Caitlin Shkuratov",
    "email": "caitlinshk@google.com",
    "time": "Fri Jun 30 18:15:57 2023 +0000"
  },
  "committer": {
    "name": "Caitlin Shkuratov",
    "email": "caitlinshk@google.com",
    "time": "Fri Jul 14 17:24:24 2023 +0000"
  },
  "message": "[CS] 3/N: Move KeyguardViewMediator to WallpaperRepository.\n\nNote: KeyguardViewMediator gets recreated on user switch because it\u0027s\npart of a Dagger injection chain into CustomizationProvider, and\nCustomizationProvider is a content provider that\u0027s re-created for each user.\n\nHowever, CentralSurfacesImpl ever notifies only the *original*\nKeyguardViewMediator, *not* any of the new ones. I\u0027ve verified that with\nthis change, the original KVM is still the *only* instance receiving\nwallpaper updates. This is because KVM only starts collecting on\nWallpaperRepository in KVM#setupLocked, which is triggered via\nCoreStartable#start, which is only triggered for the original process.\n\nBug: 277764509\nBug: 277762009\nTest: manual: Verified via logging that KeyguardViewMediator still\nreceives wallpaper updates from WallpaperRepository\nTest: atest KeyguardViewMediatorTest\n\nChange-Id: I14088f422c38fc95083b7f42e878e69b879f499f\n",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "468d7606933e3260b68032187054e2b6dda8558c",
      "old_mode": 33188,
      "old_path": "packages/SystemUI/src/com/android/systemui/keyguard/KeyguardViewMediator.java",
      "new_id": "86cd962719e1f197f8d28442554a67e06a1bfe3d",
      "new_mode": 33188,
      "new_path": "packages/SystemUI/src/com/android/systemui/keyguard/KeyguardViewMediator.java"
    },
    {
      "type": "modify",
      "old_id": "29a2d12ca9723560e555b8a5dc4eacfc479407d9",
      "old_mode": 33188,
      "old_path": "packages/SystemUI/src/com/android/systemui/keyguard/dagger/KeyguardModule.java",
      "new_id": "4205ed22ff243017a25001ffc14821bcedd1d953",
      "new_mode": 33188,
      "new_path": "packages/SystemUI/src/com/android/systemui/keyguard/dagger/KeyguardModule.java"
    },
    {
      "type": "modify",
      "old_id": "0a7ee52fba46bafba648d54b7de1f1fb68f8f2b9",
      "old_mode": 33188,
      "old_path": "packages/SystemUI/src/com/android/systemui/statusbar/phone/CentralSurfacesImpl.java",
      "new_id": "2f47ce970596452b83792a1ddbd2b1a7763da40d",
      "new_mode": 33188,
      "new_path": "packages/SystemUI/src/com/android/systemui/statusbar/phone/CentralSurfacesImpl.java"
    },
    {
      "type": "modify",
      "old_id": "666978e78f98c4efb85c28c88234aee36a6fab9c",
      "old_mode": 33188,
      "old_path": "packages/SystemUI/tests/src/com/android/systemui/keyguard/KeyguardViewMediatorTest.java",
      "new_id": "7379cd51d383e4eff0bffbb90092e73cd966b638",
      "new_mode": 33188,
      "new_path": "packages/SystemUI/tests/src/com/android/systemui/keyguard/KeyguardViewMediatorTest.java"
    }
  ]
}
