commit | 74708e17cd42da54346ee42f393fd6829d03c289 | [log] [tgz] |
---|---|---|
author | George Lin <giolin@google.com> | Fri Apr 28 14:13:12 2023 +0000 |
committer | Android (Google) Code Review <android-gerrit@google.com> | Fri Apr 28 14:13:12 2023 +0000 |
tree | e469099f6289bf693fc04c7b3855b330b6e0ee78 | |
parent | ad71d7489b81399a6f58566cde5868c176bc7e5e [diff] | |
parent | 8188878db7495d09b4a71418c3cf8a5fe99e1831 [diff] |
Merge "Make fragment the owner of the view model" into udc-dev
diff --git a/src/com/android/customization/picker/clock/ui/fragment/ClockSettingsFragment.kt b/src/com/android/customization/picker/clock/ui/fragment/ClockSettingsFragment.kt index 7233c80..88d6d8e 100644 --- a/src/com/android/customization/picker/clock/ui/fragment/ClockSettingsFragment.kt +++ b/src/com/android/customization/picker/clock/ui/fragment/ClockSettingsFragment.kt
@@ -118,7 +118,7 @@ ClockSettingsBinder.bind( view, ViewModelProvider( - activity, + this, injector.getClockSettingsViewModelFactory( context, injector.getWallpaperColorsViewModel(),