|
|
@@ -1,5 +1,6 @@
|
|
|
package com.sheep.gamegroup.view.activity;
|
|
|
|
|
|
+import android.content.ComponentName;
|
|
|
import android.content.Intent;
|
|
|
import android.net.Uri;
|
|
|
import android.text.TextUtils;
|
|
|
@@ -76,10 +77,11 @@ public class RechargeResultAct extends BaseActivity {
|
|
|
@Override
|
|
|
public void finish() {
|
|
|
if (!TextUtils.isEmpty(gowhere)) {
|
|
|
- Uri uri = Uri.parse("sheepsdk://" + gowhere);
|
|
|
- Intent intent = new Intent(Intent.ACTION_VIEW, uri);
|
|
|
+ ComponentName appName = new ComponentName(gowhere, "com.yog.kothoth.view.activity.SSRechargeActivity");
|
|
|
+ Intent intent = new Intent();
|
|
|
+ intent.setComponent(appName);
|
|
|
intent.putExtra("orderno", orderno);
|
|
|
- intent.putExtra("status", resultStatus);
|
|
|
+ intent.putExtra("status", Integer.parseInt(resultStatus));
|
|
|
intent.setFlags(Intent.FLAG_ACTIVITY_NEW_TASK | Intent.FLAG_ACTIVITY_REORDER_TO_FRONT);
|
|
|
startActivity(intent);
|
|
|
}
|