Skip to content

Commit

Permalink
标题错误修改
Browse files Browse the repository at this point in the history
  • Loading branch information
Eric0x committed Dec 8, 2017
1 parent 57d2352 commit 9f21441
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -150,15 +150,15 @@ public void run() {
if (isBackground(activity)) {
Uri.Builder builder = Uri.parse("rong://" + activity.getPackageName()).buildUpon();

builder.appendPath("conversation").appendPath("lomostart")
builder.appendPath("conversation").appendPath("lomostar")
.appendQueryParameter("targetId", message.getTargetId())
.appendQueryParameter("title", "");
Uri uri = builder.build();

Intent intent = context.getPackageManager().getLaunchIntentForPackage(activity.getPackageName());
intent.setData(uri);

String title = "lomostart";
String title = "LoMoStar";
String tickerText = context.getResources().getString(context.getResources().getIdentifier("rc_notification_ticker_text", "string", context.getPackageName()));
PendingIntent intent1 = PendingIntent.getActivity(context, 300, intent, PendingIntent.FLAG_UPDATE_CURRENT);
Notification notification = NotificationUtil.createNotification(activity, title, intent1, tickerText);
Expand Down

0 comments on commit 9f21441

Please sign in to comment.