Fixed null object treference on A10

- Closes : #4553
This commit is contained in:
MrSluffy
2024-08-18 12:26:49 +08:00
parent 8ce6907285
commit a8055385bb
+1
View File
@@ -1270,6 +1270,7 @@ public class Workspace<T extends View & PageIndicator> extends PagedView<T>
private boolean isEventOverQsb(float x, float y) {
CellLayout target = (CellLayout) getChildAt(mCurrentPage);
if (target.getShortcutsAndWidgets() == null) return false;
ShortcutAndWidgetContainer container = target.getShortcutsAndWidgets();
mTempFXY[0] = x;
mTempFXY[1] = y;