Move system gesture exclusion rect to LauncherRootView

We translate DragLayer when going to -1, so the exclusion rect was off
screen when you went back from there.

Bug: 129297464
Change-Id: Ie079b2dadaca07886408ee9c1d130d7ac351a61d
This commit is contained in:
Tony Wickham committed 2019-04-23 11:52:50 -07:00
1 parent c06e151e0f
commit 12e8a34ef6
3 files changed
+29 -29

No files matched your search

@@ -87,7 +87,7 @@ public class UiFactory extends RecentsUiFactory {
OverviewInteractionState.INSTANCE.get(launcher)
.setBackButtonAlpha(shouldBackButtonBeHidden ? 0 : 1, true /* animate */);
if (launcher != null && launcher.getDragLayer() != null) {
launcher.getDragLayer().setDisallowBackGesture(shouldBackButtonBeHidden);
launcher.getRootView().setDisallowBackGesture(shouldBackButtonBeHidden);
}
}