Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 79a640ec authored by Sunny Goyal's avatar Sunny Goyal
Browse files

Ensure that crop view is loaded before applying a wallpaper

Bug: 22293299
Change-Id: I64d5268cc263bbb6595a0b28bdd5ec73d540da41
parent a1ee659e
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -550,7 +550,8 @@ public class WallpaperPickerActivity extends WallpaperCropActivity {
                new View.OnClickListener() {
                    @Override
                    public void onClick(View v) {
                        if (mSelectedTile != null) {
                        // Ensure that a tile is slelected and loaded.
                        if (mSelectedTile != null && mCropView.getTileSource() != null) {
                            // Prevent user from selecting any new tile.
                            mWallpaperStrip.setVisibility(View.GONE);
                            actionBar.hide();