)]}'
{
  "commit": "f90b1070454eb591dcd38ea5b2415ed2f644c26a",
  "tree": "c27fe9bfcd5f5739d06e3a6e944a192622339199",
  "parents": [
    "dd53fd7293e2250a79cc4fae06dca4c12c2d7eaf"
  ],
  "author": {
    "name": "Robin Lee",
    "email": "rgl@google.com",
    "time": "Thu Feb 29 15:14:34 2024 +0100"
  },
  "committer": {
    "name": "Android Build Coastguard Worker",
    "email": "android-build-coastguard-worker@google.com",
    "time": "Fri Mar 08 23:56:14 2024 +0000"
  },
  "message": "When wallpaper target is under keyguard, use keyguard\n\nThe case this is specifically aimed at is recent apps over the\nlockscreen, where the wallpaper target isn\u0027t visible during the\ntransition or at its end but is replaced by NotificationShade when\nit reports finished.\n\nThe problem this solves is that the wallpaper visibility cleanup in\nTransition.onFinish was run before the NotificationShade had a chance\nto make itself wallpaper target, as this was not necessarily\nrecalculated yet.\n\nFor normal app \u003c-\u003e app transitions, wallpaper target is calculated much\nearlier during collection. Since keyguard is just a mode of the\nnotification shade there is no collection to be done for it and so the\nwallpaper target change is not knowable upfront.\n\nWe don\u0027t use the wallpaper as its own target in this case because the\nkeyguard does not necessarily want a wallpaper - it may become an opaque\nwindow on some form factors / skins.\n\nBug: 315698413\nTest: atest WallpaperControllerTests\nTest: atest PlatformScenarioTests:android.platform.test.scenario.sysui.lockscreen.LaunchCameraFromLockScreen\n(cherry picked from https://googleplex-android-review.googlesource.com/q/commit:719144b3a596a9ca0b7161dfe972eb8843939732)\nMerged-In: Iaa631b75d5bc24444bd7c808e0aa056620edcc4b\nChange-Id: Iaa631b75d5bc24444bd7c808e0aa056620edcc4b\n",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "594043d380c92091c265dfb3cb7a43b07eb082e5",
      "old_mode": 33188,
      "old_path": "services/core/java/com/android/server/wm/WallpaperController.java",
      "new_id": "c2b847cd08d700339c6d52da6b9de9985715a4b1",
      "new_mode": 33188,
      "new_path": "services/core/java/com/android/server/wm/WallpaperController.java"
    },
    {
      "type": "modify",
      "old_id": "80fb44a9b50f7149adff626bcb05378ff6a666a7",
      "old_mode": 33188,
      "old_path": "services/tests/wmtests/src/com/android/server/wm/WallpaperControllerTests.java",
      "new_id": "72bedf2da21f6af0b798ac81d4a3026c379c40c5",
      "new_mode": 33188,
      "new_path": "services/tests/wmtests/src/com/android/server/wm/WallpaperControllerTests.java"
    }
  ]
}
