commit | 2e05016746d449935d915816af52ba85ddd71bc7 | [log] [tgz] |
---|---|---|
author | Rachit Jain <jainrachit@google.com> | Mon Sep 25 11:09:44 2023 -0700 |
committer | Rachit Jain <jainrachit@google.com> | Wed Dec 06 23:16:44 2023 +0000 |
tree | e49696d1473b04f11fe3ebf88cd4aa6c67acd36f | |
parent | db403e3d4dc5acba38aa80f192bf55cd72569810 [diff] |
Preserve RemoteCarTaskViews on activity recreation - Use a ViewModel to preserve task views on configuration change in CarLauncher. - Use Window context instead of activity context while creating the controlled remote car task views. - Use ViewModel.Factory for dependency injection. Bug: 296957172 Test: m Test: atest CarLauncherTests Change-Id: Ide8bba0bd59c1033676145e263471fdeda855d70