Merge commit 'efe10b831e7e411b804d2bcc4df535110197fc63' * commit 'efe10b831e7e411b804d2bcc4df535110197fc63': Fix the bug where the icons stop showing up.
This commit is contained in:
@@ -227,6 +227,11 @@ public final class Launcher extends Activity
|
||||
android.os.Debug.stopMethodTracing();
|
||||
}
|
||||
|
||||
// We have a new AllAppsView, we need to re-bind everything, and it could have
|
||||
// changed in our absence.
|
||||
mModel.setAllAppsDirty();
|
||||
mModel.setWorkspaceDirty();
|
||||
|
||||
if (!mRestoring) {
|
||||
mModel.startLoader(this, true);
|
||||
}
|
||||
|
||||
@@ -249,6 +249,13 @@ public class LauncherModel {
|
||||
mLoader.stopLoader();
|
||||
}
|
||||
|
||||
/**
|
||||
* We pick up most of the changes to all apps.
|
||||
*/
|
||||
public void setAllAppsDirty() {
|
||||
mLoader.setAllAppsDirty();
|
||||
}
|
||||
|
||||
public void setWorkspaceDirty() {
|
||||
mLoader.setWorkspaceDirty();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user