mirror of
https://github.com/LawnchairLauncher/lawnchair.git
synced 2026-03-04 18:06:48 +00:00
Workaround for wallpaper crash. (5191436)
- Adding a little time to the tab transition Change-Id: Ia7615d93f471845e568742df828cde43c1b917c4
This commit is contained in:
@@ -307,9 +307,15 @@ public class WallpaperChooserDialogFragment extends DialogFragment implements
|
||||
mBitmap.recycle();
|
||||
}
|
||||
|
||||
mBitmap = b;
|
||||
mWallpaperDrawable.setBitmap(b);
|
||||
getView().postInvalidate();
|
||||
View v = getView();
|
||||
if (v != null) {
|
||||
mBitmap = b;
|
||||
mWallpaperDrawable.setBitmap(b);
|
||||
v.postInvalidate();
|
||||
} else {
|
||||
mBitmap = null;
|
||||
mWallpaperDrawable.setBitmap(null);
|
||||
}
|
||||
mLoader = null;
|
||||
} else {
|
||||
b.recycle();
|
||||
|
||||
Reference in New Issue
Block a user