Temporary fix for qsb and hotseat clicking issues
Change-Id: I3fca1e3dada12c8655887c3d7a2200b6fcfac19c
This commit is contained in:
1 parent
fa63e43890
commit
e29c55ac32
3 files changed
+12
-15
No files matched your search
@@ -698,13 +698,10 @@ public class DragLayer extends FrameLayout implements ViewGroup.OnHierarchyChang
|
||||
|
||||
@Override
|
||||
protected int getChildDrawingOrder(int childCount, int i) {
|
||||
// We don't want to prioritize the workspace drawing on top of the other children in
|
||||
// landscape for the overscroll event.
|
||||
if (LauncherApplication.isScreenLandscape(getContext())) {
|
||||
return super.getChildDrawingOrder(childCount, i);
|
||||
}
|
||||
|
||||
if (mWorkspaceIndex == -1 || mQsbIndex == -1 ||
|
||||
// TODO: We have turned off this custom drawing order because it now effects touch
|
||||
// dispatch order. We need to sort that issue out and then decide how to go about this.
|
||||
if (true || LauncherApplication.isScreenLandscape(getContext()) ||
|
||||
mWorkspaceIndex == -1 || mQsbIndex == -1 ||
|
||||
mLauncher.getWorkspace().isDrawingBackgroundGradient()) {
|
||||
return i;
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user