Merge "Fix crash when Workspace item is added to two panel home" into sc-v2-dev
This commit is contained in:
commit
fd744975cc
|
@ -2229,6 +2229,9 @@ public class Launcher extends StatefulActivity<LauncherState> implements Launche
|
|||
ArrayList<ItemInfo> addAnimated) {
|
||||
// Add the new screens
|
||||
if (newScreens != null) {
|
||||
// newScreens can contain an empty right panel that is already bound, but not known
|
||||
// by BgDataModel.
|
||||
newScreens.removeAllValues(mWorkspace.mScreenOrder);
|
||||
bindAddScreens(newScreens);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue