Render user's actual workspace in ThemePicker preview (Part 6)

Didn't test out widgets in Part 5. So in this change,
- Added some widget classes to the PreviewContext WHITELIST
- Manually update widget model after loading workspace since we do not attach widget listeners to the LauncherAppModel for preview.

Change-Id: I0a555b2319b2e91432dbd58289ddb66aca1384df
This commit is contained in:
Tracy Zhou committed 2020-03-02 00:44:55 -08:00
1 parent 2fe6fb9671
commit bd22546683
4 files changed
+33 -3

No files matched your search

@@ -104,7 +104,7 @@ import java.util.concurrent.CancellationException;
public class LoaderTask implements Runnable {
private static final String TAG = "LoaderTask";
private final LauncherAppState mApp;
protected final LauncherAppState mApp;
private final AllAppsList mBgAllAppsList;
protected final BgDataModel mBgDataModel;