Blocking a number on Android typically blocks both calls and text messages from that number. The blocked contact's texts will not appear in your messages, and they won't be notified that their messages are being blocked.