Commit 0f3222cb authored by 王雪伟's avatar 王雪伟

[提交人]:王雪伟

[提交简述] :修改支付页和登录页启动模式
[实现方案] :
parent 4f1f7492
...@@ -25,7 +25,8 @@ ...@@ -25,7 +25,8 @@
android:scheme="magicbox" /> android:scheme="magicbox" />
</intent-filter> </intent-filter>
</activity> </activity>
<activity android:name=".pay.PayActivity"> <activity android:name=".pay.PayActivity"
android:launchMode="singleTop">
<intent-filter> <intent-filter>
<action android:name="android.intent.action.VIEW" /> <action android:name="android.intent.action.VIEW" />
......
...@@ -60,9 +60,8 @@ class FaceBookLoginUtil { ...@@ -60,9 +60,8 @@ class FaceBookLoginUtil {
} else { } else {
mLoginCallBack?.onLoginError("Success_未获取到登录信息") mLoginCallBack?.onLoginError("Success_未获取到登录信息")
} }
}, 500 }, 1000
) )
} }
override fun onCancel() { override fun onCancel() {
......
...@@ -177,7 +177,7 @@ ...@@ -177,7 +177,7 @@
</activity> </activity>
<activity <activity
android:name=".page.activity.ThirdpartyLoginActivity" android:name=".page.activity.ThirdpartyLoginActivity"
android:launchMode="singleInstance"> android:launchMode="singleTop">
<intent-filter> <intent-filter>
<action android:name="android.intent.action.VIEW" /> <action android:name="android.intent.action.VIEW" />
<category android:name="android.intent.category.DEFAULT" /> <category android:name="android.intent.category.DEFAULT" />
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment