diff options
Diffstat (limited to 'src/com/android/customization/picker/grid/GridFragment.java')
| -rw-r--r-- | src/com/android/customization/picker/grid/GridFragment.java | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/com/android/customization/picker/grid/GridFragment.java b/src/com/android/customization/picker/grid/GridFragment.java index d60ebcac..4de1dab7 100644 --- a/src/com/android/customization/picker/grid/GridFragment.java +++ b/src/com/android/customization/picker/grid/GridFragment.java @@ -82,6 +82,7 @@ public class GridFragment extends AppbarFragment { private final Callback mApplyGridCallback = new Callback() { @Override public void onSuccess() { + mGridManager.fetchOptions(unused -> {}, true); Toast.makeText(getContext(), R.string.applied_grid_msg, Toast.LENGTH_SHORT).show(); getActivity().overridePendingTransition(R.anim.fade_in, R.anim.fade_out); getActivity().finish(); @@ -157,7 +158,8 @@ public class GridFragment extends AppbarFragment { SurfaceView wallpaperSurface = view.findViewById(R.id.wallpaper_preview_surface); WallpaperPreviewer wallpaperPreviewer = new WallpaperPreviewer(getLifecycle(), - getActivity(), view.findViewById(R.id.wallpaper_preview_image), wallpaperSurface); + getActivity(), view.findViewById(R.id.wallpaper_preview_image), wallpaperSurface, + view.findViewById(R.id.grid_fadein_scrim)); // Loads current Wallpaper. CurrentWallpaperInfoFactory factory = InjectorProvider.getInjector() .getCurrentWallpaperInfoFactory(getContext().getApplicationContext()); |
