Merge "[race condition] Improve hotseat availability when launcher is recreated" into ub-launcher3-rvc-dev am: 832aa03a4b

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

Change-Id: I0073105aea8e37f0bb01efc2472c47f1ec55d883
This commit is contained in:
TreeHugger Robot
2020-06-15 18:21:53 +00:00
committed by Automerger Merge Worker
@@ -29,7 +29,6 @@ import static com.android.quickstep.SysUINavigationMode.Mode.NO_BUTTON;
import android.content.Intent;
import android.content.res.Configuration;
import android.os.Bundle;
import android.util.Log;
import android.view.View;
@@ -90,8 +89,8 @@ public class QuickstepLauncher extends BaseQuickstepLauncher {
SystemUiProxy.INSTANCE.get(context).setShelfHeight(arg1 != 0, arg2);
@Override
protected void onCreate(Bundle savedInstanceState) {
super.onCreate(savedInstanceState);
protected void setupViews() {
super.setupViews();
if (FeatureFlags.ENABLE_HYBRID_HOTSEAT.get()) {
mHotseatPredictionController = new HotseatPredictionController(this);
mHotseatPredictionController.createPredictor();