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 authored and Android (Google) Code Review committed 2019-07-16 04:42:00 +00:00
commit d4b839145c
1 file changed
+4
@@ -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();