mirror of
https://github.com/LawnchairLauncher/lawnchair.git
synced 2026-02-18 18:28:20 +00:00
Removing multiple system RPCs to packageMAnager and userManager from UI thread
Bug: 158427348 Change-Id: Ibb1837fe932000b69cf5683bb01727fc32abca91
This commit is contained in:
@@ -117,7 +117,8 @@ public abstract class BaseModelUpdateTask implements ModelUpdateTask {
|
||||
public void bindApplicationsIfNeeded() {
|
||||
if (mAllAppsList.getAndResetChangeFlag()) {
|
||||
AppInfo[] apps = mAllAppsList.copyData();
|
||||
scheduleCallbackTask(c -> c.bindAllApplications(apps));
|
||||
int flags = mAllAppsList.getFlags();
|
||||
scheduleCallbackTask(c -> c.bindAllApplications(apps, flags));
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user