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

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

No files matched your search

@@ -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