mirror of
https://github.com/LawnchairLauncher/lawnchair.git
synced 2026-03-02 08:56:55 +00:00
Fix issue with adding widget with config activity to empty screen (issue 11381059)
Change-Id: Ic7eecb30422e7a6cf35ebe8470d9eba8752d406e
This commit is contained in:
@@ -76,6 +76,7 @@ public class CellLayout extends ViewGroup {
|
||||
private int mHeightGap;
|
||||
private int mMaxGap;
|
||||
private boolean mScrollingTransformsDirty = false;
|
||||
private boolean mDropPending = false;
|
||||
|
||||
private final Rect mRect = new Rect();
|
||||
private final CellInfo mCellInfo = new CellInfo();
|
||||
@@ -332,6 +333,14 @@ public class CellLayout extends ViewGroup {
|
||||
mShortcutsAndWidgets.setInvertIfRtl(invert);
|
||||
}
|
||||
|
||||
public void setDropPending(boolean pending) {
|
||||
mDropPending = pending;
|
||||
}
|
||||
|
||||
public boolean isDropPending() {
|
||||
return mDropPending;
|
||||
}
|
||||
|
||||
private void invalidateBubbleTextView(BubbleTextView icon) {
|
||||
final int padding = icon.getPressedOrFocusedBackgroundPadding();
|
||||
invalidate(icon.getLeft() + getPaddingLeft() - padding,
|
||||
|
||||
Reference in New Issue
Block a user