commit | 3d1a51c986e08c9766a40e278816fd7ae76fc45a | [log] [tgz] |
---|---|---|
author | Chuck Liao <chuckliao@google.com> | Mon Feb 17 18:29:34 2020 +0800 |
committer | Chuck Liao <chuckliao@google.com> | Wed Feb 19 13:17:48 2020 +0800 |
tree | 12ca0c4db22a36f1d4600e81ff3018a969405ad2 | |
parent | 1e0501f75252eb3ec8d83b680f49b97aee19af5a [diff] [blame] |
Let IndividualPickerFragment indpendent from IndividualPickerActivity. This is a preparation for switching between gallery and wallpapers. (By replacing CategorySelectorFragment with IndividualPickerFragment) Bug: 149670265 Change-Id: Ib37ae0d15f4b89a0ea1d574acb1f081cababa4ae
diff --git a/src/com/android/wallpaper/picker/individual/IndividualPickerFragment.java b/src/com/android/wallpaper/picker/individual/IndividualPickerFragment.java index c0c4ce5..a05d026 100755 --- a/src/com/android/wallpaper/picker/individual/IndividualPickerFragment.java +++ b/src/com/android/wallpaper/picker/individual/IndividualPickerFragment.java
@@ -927,8 +927,7 @@ } }); } else { // MOBILE - return new PreviewIndividualHolder( - (IndividualPickerActivity) getActivity(), mTileSizePx.y, view); + return new PreviewIndividualHolder(getActivity(), mTileSizePx.y, view); } }