从其他应用程序打开应用程序后反压

backpress after open application from other application

我从我的应用程序启动浏览器,url 上有一个按钮 。按钮的作用是启动一个特殊的 url 午餐 activity 我的应用程序。 当 activity 开始时,我按下后退按钮但应用程序已完成。
我不想关闭应用程序。
我觉得是之前的申请会消失
对吗?
您有什么建议?

这是我的代码。

        <activity android:name=".IncreaseCredit.IncreaseCreditActivity"
        android:screenOrientation="portrait"
        android:theme="@style/AppTheme">

        <intent-filter>

            <action android:name="android.intent.action.VIEW"/>
            <category android:name="android.intent.category.DEFAULT"/>
            <category android:name="android.intent.category.BROWSABLE"/>
            <data android:scheme="test" android:host="successpayment"/>
            <data android:scheme="test" android:host="unsuccesspayment"/>

        </intent-filter>

    </activity>

启动浏览器

    Intent i = new Intent(Intent.ACTION_VIEW);
    i.setData(Uri.parse(url));

不好意思解释不好

这解决了我的问题:我更改了行

android:launchMode="singleInstance"

在我的清单中

android:launchMode="singleTask"