Fix wrong index access in getSingleMessageFromIcc()

SmsManager#getMessagesFromIcc() returns a list containing only valid
messages in the ICC. To get single message in the ICC by an ICC index,
the index value in SmsMessage objects in the list should be checked.

Bug: 161478651
Test: Manual

Signed-off-by: Taesu Lee <taesu82.lee@samsung.com>
Change-Id: Ifaf5d5284633629d91d130823469d19b4ae0efb0
1 file changed