commit | 0fc3d1275a2e6a68b276b47032b696b8f7622016 | [log] [tgz] |
---|---|---|
author | Sunny Goyal <sunnygoyal@google.com> | Tue Aug 11 18:49:28 2020 -0700 |
committer | Sunny Goyal <sunnygoyal@google.com> | Mon Aug 17 08:43:07 2020 -0700 |
tree | 219b524f29174b064d95f56699cac3ac23f06aff | |
parent | 532b962a034762b231c0fbb95e145459897e45d5 [diff] [blame] |
Moving hotseat predictions to ModelDelegate Bug: 160748731 Change-Id: I8db7856a17e0b6ca45b4d5ec3513f788f22db11a
diff --git a/src/com/android/launcher3/LauncherModel.java b/src/com/android/launcher3/LauncherModel.java index f58e0b4..6aa4c43 100644 --- a/src/com/android/launcher3/LauncherModel.java +++ b/src/com/android/launcher3/LauncherModel.java
@@ -218,6 +218,13 @@ } /** + * Called when the workspace items have drastically changed + */ + public void onWorkspaceUiChanged() { + MODEL_EXECUTOR.execute(mModelDelegate::workspaceLoadComplete); + } + + /** * Called when the model is destroyed */ public void destroy() {