Merge "Don't preload overview if current home isn't gestural overview" into ub-launcher3-qt-r1-dev

This commit is contained in:
TreeHugger Robot
2019-07-16 04:42:00 +00:00
committed by Android (Google) Code Review
@@ -708,6 +708,10 @@ public class TouchInteractionService extends Service implements
if (!mIsUserUnlocked) {
return;
}
if (!mMode.hasGestures && !mOverviewComponentObserver.isHomeAndOverviewSame()) {
// Prevent the overview from being started before the real home on first boot.
return;
}
final ActivityControlHelper<BaseDraggingActivity> activityControl =
mOverviewComponentObserver.getActivityControlHelper();