Avoid unnecessary onLayout if gesture is going to state without overview panel am: 96ffcbcd2d

Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15667340

Change-Id: I8f5406cdb37c12759b2f3ef5870e804b8e9677e5