Merge "Fix back button not showing in all floating views" into ub-launcher3-master
This commit is contained in:
@@ -481,6 +481,8 @@ public class Folder extends AbstractFloatingView implements DragSource,
|
||||
openFolder.close(true);
|
||||
}
|
||||
|
||||
mIsOpen = true;
|
||||
|
||||
DragLayer dragLayer = mLauncher.getDragLayer();
|
||||
// Just verify that the folder hasn't already been added to the DragLayer.
|
||||
// There was a one-off crash where the folder had a parent already.
|
||||
@@ -494,8 +496,6 @@ public class Folder extends AbstractFloatingView implements DragSource,
|
||||
}
|
||||
}
|
||||
|
||||
mIsOpen = true;
|
||||
|
||||
mContent.completePendingPageChanges();
|
||||
if (!mDragInProgress) {
|
||||
// Open on the first page.
|
||||
|
||||
@@ -288,8 +288,8 @@ public class OptionsPopupView extends AbstractFloatingView
|
||||
lp.y = Utilities.boundToRange((int) (y - height / 2), insets.top + margin,
|
||||
maxHeight - insets.bottom - height - margin);
|
||||
|
||||
launcher.getDragLayer().addView(view);
|
||||
view.animateOpen();
|
||||
launcher.getDragLayer().addView(view);
|
||||
}
|
||||
|
||||
public static boolean onWidgetsClicked(Launcher launcher) {
|
||||
|
||||
Reference in New Issue
Block a user