Merge changes Ifd147d6f,I72629a27 into main

* changes:
  decoupling task animation lifecycle from recents lifecycle
  fixing a state cycle issue in recents window  where we set home instead of bg_launcher