Improve launcher loading performance by only doing re-binds.

This always reloads the workspace, because I think it's a less risky change and that only adds
~100ms.

Change-Id: I215b1f741f022e47ce06e78b9cfdd9967a8f1b9d
This commit is contained in:
Joe Onorato
2010-06-08 10:54:30 -07:00
parent 843e860e8e
commit cc67f476c0
3 changed files with 84 additions and 96 deletions

View File

@@ -73,8 +73,6 @@ public class LauncherApplication extends Application {
private final ContentObserver mFavoritesObserver = new ContentObserver(new Handler()) {
@Override
public void onChange(boolean selfChange) {
// TODO: lockAllApps();
mModel.setWorkspaceDirty();
mModel.startLoader(LauncherApplication.this, false);
}
};