点击通知无法进入界面

ywb123456
2019-11-30 07:49 137 0
@Override
public void onNotifyMessageOpened(Context context, NotificationMessage notificationMessage) {
    super.onNotifyMessageOpened(context, notificationMessage);
    Log.i("ywb", "onNotifyMessageOpened: startActivity");
    Intent intent = new Intent(context, SettingsActivity.class);
    context.startActivity(intent);
}

1个回答

热门排序