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

Commit 64594c80 authored by TreeHugger Robot's avatar TreeHugger Robot Committed by Android (Google) Code Review
Browse files

Merge "Revert "Add ActivityOptions for SecondDisplayLaucher to launch activity""

parents cd0c1846 beb416cd
Loading
Loading
Loading
Loading
+1 −4
Original line number Diff line number Diff line
@@ -20,7 +20,6 @@ import android.animation.AnimatorListenerAdapter;
import android.app.ActivityOptions;
import android.content.Intent;
import android.os.Bundle;
import android.view.Display;
import android.view.View;
import android.view.View.OnClickListener;
import android.view.ViewAnimationUtils;
@@ -170,9 +169,7 @@ public class SecondaryDisplayLauncher extends BaseDraggingActivity

    @Override
    public ActivityOptions getActivityLaunchOptions(View v) {
        final Display display = getWindow().getDecorView().getDisplay();
        return display != null ? ActivityOptions.makeBasic().setLaunchDisplayId(
                       display.getDisplayId()) : null;
        return null;
    }

    @Override