Land #11190, fix multi line text in android send_sms

This commit is contained in:
Wei Chen 2019-01-15 17:18:37 -06:00
commit 70c4e719c9
No known key found for this signature in database
GPG Key ID: 6E162ED2C01D9AAC
1 changed files with 2 additions and 0 deletions

View File

@ -527,6 +527,8 @@ class Console::CommandDispatcher::Android
dest = val
when '-t'
body = val
# Replace \n with a newline character to allow multi-line messages
body.gsub!('\n',"\n")
when '-r'
dr = true
end