项目修改与整理
This commit is contained in:
@ -7,6 +7,8 @@ import android.text.TextUtils;
|
||||
|
||||
import com.gh.common.util.ClassUtils;
|
||||
import com.gh.common.util.RunningUtils;
|
||||
import com.gh.common.util.Utils;
|
||||
import com.gh.gamecenter.MainActivity;
|
||||
import com.gh.gamecenter.SplashScreenActivity;
|
||||
import com.umeng.message.UmengNotificationClickHandler;
|
||||
import com.umeng.message.entity.UMessage;
|
||||
@ -19,11 +21,10 @@ public class GHUmengNotificationClickHandler extends UmengNotificationClickHandl
|
||||
|
||||
@Override
|
||||
public void launchApp(Context context, UMessage uMessage) {
|
||||
super.launchApp(context, uMessage);
|
||||
|
||||
String content = uMessage.extra.get("data");
|
||||
// super.launchApp(context, uMessage);
|
||||
|
||||
try {
|
||||
String content = uMessage.extra.get("data");
|
||||
JSONObject response = new JSONObject(content);
|
||||
Bundle bundle = new Bundle();
|
||||
bundle.putString("entrance", "(友盟推送)");
|
||||
@ -65,7 +66,6 @@ public class GHUmengNotificationClickHandler extends UmengNotificationClickHandl
|
||||
} catch (JSONException e) {
|
||||
e.printStackTrace();
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user