项目修改与整理

This commit is contained in:
huangzhuanghua
2017-01-04 16:16:34 +08:00
parent 321121d5ef
commit 659d6fc263
55 changed files with 151 additions and 166 deletions

View File

@ -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();
}
}
}