mirror of
https://github.com/LawnchairLauncher/lawnchair.git
synced 2026-03-04 01:46:49 +00:00
Merge "Fix custom buttons with translated string" into udc-qpr-dev
This commit is contained in:
committed by
Android (Google) Code Review
commit
383cc17a6f
@@ -314,7 +314,8 @@ public abstract class BaseLauncherBinder {
|
||||
currentScreenIds, pendingTasks, workspaceItemCount, isBindSync);
|
||||
}, mUiExecutor);
|
||||
|
||||
mCallbacks.bindStringCache(mBgDataModel.stringCache.clone());
|
||||
StringCache cacheClone = mBgDataModel.stringCache.clone();
|
||||
executeCallbacksTask(c -> c.bindStringCache(cacheClone), pendingExecutor);
|
||||
}
|
||||
|
||||
private void bindWorkspaceItems(
|
||||
@@ -442,9 +443,8 @@ public abstract class BaseLauncherBinder {
|
||||
.resumeModelPush(FLAG_LOADER_RUNNING);
|
||||
});
|
||||
|
||||
for (Callbacks cb : mCallbacksList) {
|
||||
cb.bindStringCache(mBgDataModel.stringCache.clone());
|
||||
}
|
||||
StringCache cacheClone = mBgDataModel.stringCache.clone();
|
||||
executeCallbacksTask(c -> c.bindStringCache(cacheClone), mUiExecutor);
|
||||
}
|
||||
|
||||
private void bindWorkspaceItems(final ArrayList<ItemInfo> workspaceItems) {
|
||||
|
||||
Reference in New Issue
Block a user