Stabilize sms test cases
From emulator UI with avd API 19, we can see the new sms message right away.
However, it is slower in code to fetch sms information from phone(avd) with api 19 than others.
Here, try to poll sms message many times until got expected sms message.
Otherwise, when max tries reached, test should fail.
test tracker doc: go/adt-consoletest-tracker
Test: run single sms test with API 18/19/25 AVDs, passed
run all tests from termial by calling dotest.py, passed
Change-Id: I504cc6ad07986cefdf6a6d3a77f7b726716b37c9
1 file changed