mirror of
https://github.com/LawnchairLauncher/lawnchair.git
synced 2026-02-19 02:38:20 +00:00
Add logs for PackageUpdatedTask
* That's the bit that updates new packages for work profile, at least from command line. * There is variability in how long it could take work profile apps to show up, from 2-8 seconds. Bug: 243688989 Change-Id: I710befc5f17b4a16bff523eb03f1e88975cafd43
This commit is contained in:
@@ -151,7 +151,12 @@ public abstract class BaseModelUpdateTask implements ModelUpdateTask {
|
||||
}
|
||||
|
||||
public void bindApplicationsIfNeeded() {
|
||||
if (mAllAppsList.getAndResetChangeFlag()) {
|
||||
boolean changeFlag = mAllAppsList.getAndResetChangeFlag();
|
||||
if (TestProtocol.sDebugTracing) {
|
||||
Log.d(WORK_TAB_MISSING, "bindApplicationsIfNeeded changeFlag? " +
|
||||
changeFlag);
|
||||
}
|
||||
if (changeFlag) {
|
||||
AppInfo[] apps = mAllAppsList.copyData();
|
||||
int flags = mAllAppsList.getFlags();
|
||||
scheduleCallbackTask(c -> c.bindAllApplications(apps, flags));
|
||||
|
||||
Reference in New Issue
Block a user