mirror of
https://github.com/LawnchairLauncher/lawnchair.git
synced 2026-03-03 09:26:51 +00:00
Eliminate custom alpha handling in CellLayout
Also rename CellLayoutChildren to ShortcutsAndWidgetsView Change-Id: Ic2ebc5497adb153cc2fce99730cc2c6fbdc101e6
This commit is contained in:
@@ -247,8 +247,8 @@ public class BubbleTextView extends TextView {
|
||||
}
|
||||
|
||||
void setCellLayoutPressedOrFocusedIcon() {
|
||||
if (getParent() instanceof CellLayoutChildren) {
|
||||
CellLayoutChildren parent = (CellLayoutChildren) getParent();
|
||||
if (getParent() instanceof ShortcutAndWidgetContainer) {
|
||||
ShortcutAndWidgetContainer parent = (ShortcutAndWidgetContainer) getParent();
|
||||
if (parent != null) {
|
||||
CellLayout layout = (CellLayout) parent.getParent();
|
||||
layout.setPressedOrFocusedIcon((mPressedOrFocusedBackground != null) ? this : null);
|
||||
|
||||
Reference in New Issue
Block a user