Merge "Ensure that crop view is loaded before applying a wallpaper" into ub-launcher3-burnaby
This commit is contained in:
@@ -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();
|
||||
|
||||
Reference in New Issue
Block a user