Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit e5586ca0 authored by android-build-team Robot's avatar android-build-team Robot
Browse files

Snap for 6610691 from c3f13e01 to rvc-release

Change-Id: I05973e9a6e46f9807ca838ea2f2bc126f6aa9df9
parents 5fcf8767 c3f13e01
Loading
Loading
Loading
Loading
+9 −1
Original line number Diff line number Diff line
@@ -29,6 +29,7 @@ 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,12 +91,19 @@ public class QuickstepLauncher extends BaseQuickstepLauncher {
    public static final AsyncCommand SET_SHELF_HEIGHT = (context, arg1, arg2) ->
            SystemUiProxy.INSTANCE.get(context).setShelfHeight(arg1 != 0, arg2);

    @Override
    protected void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        if (mHotseatPredictionController != null) {
            mHotseatPredictionController.createPredictor();
        }
    }

    @Override
    protected void setupViews() {
        super.setupViews();
        if (FeatureFlags.ENABLE_HYBRID_HOTSEAT.get()) {
            mHotseatPredictionController = new HotseatPredictionController(this);
            mHotseatPredictionController.createPredictor();
        }
    }