Merge "Launcher dump proto that will be used for:" into ub-launcher3-master

This commit is contained in:
Hyunyoung Song
2017-03-02 02:01:42 +00:00
committed by Android (Google) Code Review
6 changed files with 376 additions and 13 deletions

View File

@@ -128,6 +128,11 @@ public class LauncherModel extends BroadcastReceiver
// our monitoring of the package manager provides all updates and we never
// need to do a requery. This is only ever touched from the loader thread.
private boolean mModelLoaded;
public boolean isModelLoaded() {
synchronized (mLock) {
return mModelLoaded && mLoaderTask == null;
}
}
/**
* Set of runnables to be called on the background thread after the workspace binding