commit | 1c0a7a16c14e97c7c6428e57ef3ee8955ea2d509 | [log] [tgz] |
---|---|---|
author | Amit Mahajan <amitmahajan@google.com> | Fri May 17 10:48:00 2019 -0700 |
committer | Amit Mahajan <amitmahajan@google.com> | Tue May 21 13:21:03 2019 -0700 |
tree | 41b866914c1368bcc3fea2c7b4ea157f8e830ffd | |
parent | 98d41e6917af1411c525efde2698dd8874e068e8 [diff] |
Fix the default sub id returned by SmsManager. SmsManager.getDefaultSmsSubscriptionId() did not handle the case of no default set with a single SIM present. This CL adds the handling for that. Test: manual SMS sanity on single sim and DSDS devices Bug: 132259056 Change-Id: I72ee7af9f0b2662e1ac26b7d3db60c667d06c471